All datasets, summary values, study scenarios and experiment outcomes in this guide are synthetic illustrative teaching examples unless a real historical study is named, and none is a report of actual research for this course.本指南所有数据、汇总值、研究情境及实验结果均为合成教学示例(点名的真实历史研究除外),不是针对本课程的真实研究报告。
AP Statistics

Unit 7: Sampling Distributions

Move from one sample to all possible samples: why statistics vary, bias and variability, the Central Limit Theorem, and the sampling distributions of proportions and means.

Topics 7.1 to 7.9Bilingual edition
AP 统计学

单元 7:抽样分布

从一个样本走向所有可能的样本:统计量为什么会变化、偏差与变异性、中心极限定理,以及比例与均值的抽样分布。

主题 7.1 至 7.9中英双语版
Read me first

Each topic gives objectives, an explanation, worked examples, an exam tip, common mistakes and check questions with answers. Use the contents list to jump to a topic, then finish with the unit quiz. All data are synthetic illustrations.

阅读提示

每个主题含学习目标、讲解、例题、考试提示、常见错误与带答案的自测题。可用目录跳转到任一主题,最后完成单元自测。所有数据均为合成示例。

Variability in Statistics统计量的变异

Learning objectives学习目标
  • Distinguish a parameter from a statistic and name each in context, with its symbol.
  • Explain sampling variability: why different random samples from one population give different statistics.
  • Define a sampling distribution as the distribution of a statistic over repeated samples of the same size.
  • Describe how a simulation of many random samples approximates a sampling distribution.
  • State whether a sentence is about the population, one sample, or the sampling distribution.
  • 在具体情境中区分参数与统计量,并写出各自的符号。
  • 解释抽样变异:为什么来自同一总体的不同随机样本会得到不同的统计量。
  • 把抽样分布定义为同样大小的重复样本所得统计量的分布。
  • 说明如何用大量随机样本的模拟来近似抽样分布。
  • 判断一句话说的是总体、单个样本,还是抽样分布。

A parameter is a number that describes a population, such as the population proportion $p$, the mean $\mu$, or the standard deviation $\sigma$. It is fixed, and usually unknown. A statistic is a number computed from a sample, such as $\hat{p}$, $\bar{x}$, or $s$. A statistic is what you actually observe, and it is used to estimate the parameter. Because the sample is chosen by chance, a different random sample gives a different statistic: this is sampling variability, also called sample-to-sample variation.

参数是描述总体的数值,如总体比例 $p$、均值 $\mu$、标准差 $\sigma$。参数是固定的,而且通常未知。统计量(statistic)是由样本算出的数值,如 $\hat{p}$、$\bar{x}$、$s$。统计量是你真正观察到的值,用来估计参数。样本由机会决定,所以换一个随机样本就得到不同的统计量:这就是抽样变异(sampling variability,即样本与样本之间的差异)。

Now imagine taking repeated random samples of the same size $n$ from the same population and computing the statistic for each one. The sampling distribution of the statistic is the distribution of all the values it could take, with the probability of each. Three different distributions must never be mixed up: the population distribution (values of individuals), the distribution of one sample (the $n$ data values you collected), and the sampling distribution (values of a statistic over repeated samples). Its centre, shape and spread are what later topics will calculate.

现在设想从同一总体中反复抽取同样大小 $n$ 的随机样本(repeated samples),每次都计算统计量。统计量的抽样分布(sampling distribution)就是它所有可能取值的分布及各值的概率。必须分清三个不同的分布:总体分布(个体的取值)、单个样本的分布(你收集到的 $n$ 个数据)和抽样分布(重复抽样所得统计量的取值)。后续主题要计算的就是抽样分布的中心、形状与离散程度。

0.40.50.60.70.8true p = 0.60真实 p = 0.60Sample proportion p-hat from each of 40 random samples (n = 50)40 个随机样本(n = 50)各自的样本比例 p-hat
Figure 5.1. Each dot is one sample proportion from a separate random sample (simulated, illustrative). The dots vary from sample to sample but pile up around the true value 0.60: that pile is a picture of the sampling distribution.图 5.1。每个点是一个独立随机样本的样本比例(模拟的示意数据)。点随样本而变,却堆积在真实值 0.60 附近:这堆点就是抽样分布的图像。

Real sampling distributions are hard to list exactly, so we simulate them: use software or a random number generator to draw many random samples, record the statistic each time, and make a dotplot or histogram. In Figure 5.1 a computer drew 40 random samples of size 50 from a population with $p=0.60$. The 40 sample proportions have mean 0.6035 and range from 0.44 to 0.76 (their SD is 0.076). A simulation shows the pattern; it does not give the exact sampling distribution.

真实的抽样分布很难逐一列出,所以我们用模拟来逼近:用软件或随机数生成器抽取许多随机样本,每次记录统计量,再作点图或直方图。图 5.1 中,计算机从 $p=0.60$ 的总体中抽取了 40 个容量为 50 的随机样本。这 40 个样本比例的平均值为 0.6035,范围从 0.44 到 0.76(标准差 0.076)。模拟显示的是规律,并不是精确的抽样分布。

A simulation can also estimate an unknown population standard deviation. Suppose a simulation (illustrative) draws 500 random samples of size $n=25$ and records the sample mean $\bar{x}$ each time, and the 500 means have standard deviation $2.4$. Because $\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$, we can solve for the population value: $\sigma\approx\sigma_{\bar{x}}\sqrt{n}\approx2.4\sqrt{25}=12$. Do not stop at $2.4$: that is the spread of the sample means, not of individual values. The estimate is approximate and changes a little from one simulation to the next, and the formula for $\sigma_{\bar{x}}$ assumes a random sample that is under $10\%$ of the population.

模拟也可以用来估计未知的总体标准差。假设一次模拟(示意数据)抽取了 500 个容量 $n=25$ 的随机样本,每次记录样本均值 $\bar{x}$,这 500 个均值的标准差为 $2.4$。因为 $\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$,可以反过来求总体的值:$\sigma\approx\sigma_{\bar{x}}\sqrt{n}\approx2.4\sqrt{25}=12$。不要停在 $2.4$:它是样本均值的离散程度,而不是单个数据的离散程度。这个估计只是近似值,每次模拟结果会略有不同;而且 $\sigma_{\bar{x}}$ 的公式要求样本是随机的,并且不超过总体的 $10\%$。

Worked Example 5.1: parameter and statistic in context例题 5.1:结合情境识别参数与统计量

A district has 2,400 high school students. A random sample of 80 of them is asked about part-time work: 35 of the 80 have a job, and the sample mean of hours worked last week is $\bar{x}=6.3$ hours.

  1. Population: all 2,400 students in the district. Sample: the 80 students asked.
  2. Parameters: $p$, the proportion of all 2,400 students who have a part-time job, and $\mu$, the mean hours worked last week by all 2,400 students. Both are unknown.
  3. Statistics: $\hat{p}=35/80=0.4375$ and $\bar{x}=6.3$ hours.
  4. In context: "About 43.8% of the 80 sampled students have a part-time job; this estimates the proportion of all students in the district who do." A new random sample of 80 would give different values of $\hat{p}$ and $\bar{x}$.
  5. Why this works: a number from the sample is a statistic; the same quantity for everyone in the district is the parameter.

某学区有 2,400 名高中生。随机抽取其中 80 人询问兼职情况:80 人中 35 人有工作,上周工作时间的样本均值为 $\bar{x}=6.3$ 小时。

  1. 总体:该学区全部 2,400 名学生。样本:被询问的 80 名学生。
  2. 参数:$p$,全部 2,400 名学生中有兼职的比例;$\mu$,全部 2,400 名学生上周工作时间的均值。两者都未知。
  3. 统计量:$\hat{p}=35/80=0.4375$,$\bar{x}=6.3$ 小时。
  4. 结合情境:“被抽中的 80 名学生中约 43.8% 有兼职,这是对全学区有兼职学生比例的估计。”再抽一个容量 80 的随机样本,$\hat{p}$ 与 $\bar{x}$ 的值就会不同。
  5. 原理:来自样本的数值是统计量;同一个量在全学区所有人身上的取值才是参数。
Worked Example 5.2: reading a simulated sampling distribution例题 5.2:读懂模拟得到的抽样分布

Use Figure 5.1: 40 simulated sample proportions from samples of size 50 when the true proportion is $p=0.60$. (a) What does one dot represent? (b) What does the whole dotplot show? (c) A new survey of 50 randomly chosen students gives $\hat{p}=0.52$. Is that evidence that $p$ is not 0.60?

  1. (a) One dot is the sample proportion $\hat{p}$ from one random sample of 50 students, not one student.
  2. (b) The dotplot approximates the sampling distribution of $\hat{p}$ for samples of size 50: it centres near 0.60 (mean 0.6035), is roughly symmetric, and varies from 0.44 to 0.76.
  3. (c) No. A value of 0.52 (26 out of 50) appears twice among the 40 dots, so a sample like that happens easily by chance when $p=0.60$. One sample result inside the usual spread is not evidence that $p\neq 0.60$.
  4. Why this works: to judge whether a statistic is unusual, compare it with the spread of its sampling distribution, not with the parameter alone.

使用图 5.1:当真实比例 $p=0.60$ 时,由容量 50 的样本模拟得到 40 个样本比例。(a) 一个点代表什么?(b) 整个点图显示什么?(c) 对 50 名随机抽取的学生再做一次调查,得到 $\hat{p}=0.52$。这能说明 $p$ 不是 0.60 吗?

  1. (a) 一个点是一个容量 50 的随机样本的样本比例 $\hat{p}$,而不是一名学生。
  2. (b) 点图近似于容量 50 时 $\hat{p}$ 的抽样分布:中心在 0.60 附近(平均值 0.6035),大致对称,取值从 0.44 到 0.76。
  3. (c) 不能。0.52(50 人中 26 人)在 40 个点中出现了两次,所以当 $p=0.60$ 时这样的样本很容易靠机会出现。落在通常波动范围之内的一次样本结果,不能证明 $p\neq 0.60$。
  4. 原理:要判断一个统计量是否异常,应把它与其抽样分布的离散程度比较,而不是只与参数比较。
Worked Example 5.2b: using a simulation to judge a claim例题 5.2b:用模拟判断一个说法

A school newspaper claims that 40% of the students at a large school bike to class. A random sample of 50 students gives 12 who bike. A student tests the claim by simulation: she draws 200 random samples of size 50 from a population with $p=0.40$ and records $\hat{p}$ each time. Only 3 of the 200 simulated values are 0.24 or lower. Does the sample give convincing evidence that fewer than 40% of the students bike?

  1. What the simulation shows: each dot is one $\hat{p}$ from one random sample of 50 students, and there are 200 dots because the simulation was repeated 200 times. The size of each sample is $n=50$, not 200.
  2. The statistic: $\hat{p}=12/50=0.24$, which is $0.16$ below the claimed value $0.40$.
  3. Compare with the sampling distribution: $3/200=0.015$, so a result as low as 0.24 turns up in about 1.5% of samples when the claim is true. A Normal model gives a similar answer: $\sigma_{\hat{p}}=\sqrt{0.40(0.60)/50}\approx0.0693$, $z=\dfrac{0.24-0.40}{0.0693}\approx-2.31$, area about $0.010$.
  4. Conclusion in context: a complete answer states that if 40% of all students at this school bike, a random sample of 50 would give $\hat{p}\le0.24$ only about 1.5% of the time, so the sample gives convincing evidence that fewer than 40% of the students at the school bike. The 1.5% comes from one simulation and would change a little in a new run.
  5. Why this works: a sample result is judged by where it falls in the sampling distribution that the claim predicts, and the simulation builds that distribution without any formula.

校报声称某大型学校有 40% 的学生骑车上学。随机抽取 50 名学生,其中 12 人骑车。一名学生用模拟检验这个说法:她从 $p=0.40$ 的总体中抽取 200 个容量为 50 的随机样本,每次记录 $\hat{p}$。200 个模拟值中只有 3 个不超过 0.24。这个样本是否提供了令人信服的证据,说明骑车的学生少于 40%?

  1. 模拟显示什么:每个点是一个容量 50 的随机样本的 $\hat{p}$,共有 200 个点是因为模拟重复了 200 次。每个样本的容量是 $n=50$,而不是 200。
  2. 统计量:$\hat{p}=12/50=0.24$,比声称的 $0.40$ 低 $0.16$。
  3. 与抽样分布比较:$3/200=0.015$,所以当该说法成立时,约 1.5% 的样本会得到不超过 0.24 的结果。正态模型给出相近的答案:$\sigma_{\hat{p}}=\sqrt{0.40(0.60)/50}\approx0.0693$,$z=\dfrac{0.24-0.40}{0.0693}\approx-2.31$,面积约为 $0.010$。
  4. 结合情境的结论:完整答案要点:若该校 40% 的学生骑车,随机抽取 50 人时只有约 1.5% 的样本会得到 $\hat{p}\le0.24$,所以样本提供了令人信服的证据,说明该校骑车的学生少于 40%。这个 1.5% 来自一次模拟,重新运行会略有变化。
  5. 原理:判断一个样本结果,要看它落在该说法所预测的抽样分布的什么位置;模拟不用公式就能建立这个分布。
Exam tip考试提示

Every sentence about variability must say which distribution it describes: the population, one sample, or the sampling distribution of a named statistic ("the sampling distribution of $\hat{p}$ for samples of size 50"). Answers are clearer and more complete when they say "the statistic varies from sample to sample" rather than "the sample varies". Always state the parameter in context: its symbol, what it measures, and for which population.

凡是谈到变异的句子,都要说明描述的是哪个分布:总体、单个样本,还是某个具名统计量的抽样分布(如“容量 50 的样本中 $\hat{p}$ 的抽样分布”)。说“统计量随样本而变”比说“样本在变”更清楚、更完整。参数一定要结合情境陈述:符号、衡量什么、针对哪个总体。

Common mistakes
  • Calling $\bar{x}$ a parameter because it "describes the data". A summary of a sample is always a statistic.
  • Thinking a statistic is wrong because it differs from the parameter. Differences of this kind are expected sampling variability.
  • Confusing a sample histogram of $n$ individuals with the sampling distribution of $\bar{x}$ or $\hat{p}$.
常见错误
  • 因为“描述了数据”就把 $\bar{x}$ 叫作参数。样本的概括数值永远是统计量。
  • 因为统计量与参数不同就认为它错了。这种差异属于正常的抽样变异。
  • 把 $n$ 个个体的样本直方图与 $\bar{x}$ 或 $\hat{p}$ 的抽样分布混为一谈。
Common Mistake: counting the repetitions as the sample size

A student looks at Figure 5.1, sees 40 dots and writes $\sigma_{\hat{p}}=\sqrt{0.60(0.40)/40}\approx0.0775$. That uses $n=40$, which is wrong: each dot came from a sample of $n=50$, so the spread is $\sqrt{0.60(0.40)/50}\approx0.0693$. The number of dots is how many times the simulation was repeated; more repetitions give a smoother picture of the same sampling distribution and do not change its centre or spread. Fix: say what $n$ is (the size of each sample) and what the number of dots is (the number of repetitions) before using either.

常见错误:把重复次数当成样本容量

某学生看着图 5.1 数出 40 个点,就写 $\sigma_{\hat{p}}=\sqrt{0.60(0.40)/40}\approx0.0775$。这里用了 $n=40$,是错的:每个点来自容量 $n=50$ 的样本,所以离散程度是 $\sqrt{0.60(0.40)/50}\approx0.0693$。点的个数是模拟重复的次数;重复越多,画出的同一个抽样分布越平滑,但中心和离散程度不会改变。改正:使用前先说清 $n$ 是什么(每个样本的容量)、点的个数是什么(重复次数)。

Check your understanding自我检测
A random sample of 120 voters has 66 in favour. Write the statistic with its symbol, and say what parameter it estimates.随机抽取 120 名选民,其中 66 人赞成。写出统计量及其符号,并说明它估计哪个参数。

$\hat{p}=66/120=0.55$. It estimates $p$, the proportion of all voters in the population who are in favour.

$\hat{p}=66/120=0.55$。它估计 $p$,即总体中全部选民里赞成者的比例。

Two students each take a random sample of 40 from the same school and get $\bar{x}=7.1$ and $\bar{x}=7.6$ hours of sleep. Explain why the answers differ although both methods are fine.两名学生各从同一所学校随机抽取 40 人,得到睡眠时间 $\bar{x}=7.1$ 与 $\bar{x}=7.6$ 小时。两种方法都没问题,为什么答案不同?

This is sampling variability: each random sample contains different students, so the statistic $\bar{x}$ varies from sample to sample around the population mean $\mu$.

这是抽样变异:每个随机样本包含不同的学生,所以统计量 $\bar{x}$ 在总体均值 $\mu$ 附近随样本而变。

A class draws 100 random samples of size 25 from a population with $p=0.30$ and records $\hat{p}$ each time. (a) How many values go into the dotplot? (b) What does the dotplot approximate? (c) Around what value would you expect it to be centred?一个班从 $p=0.30$ 的总体中抽取 100 个容量为 25 的随机样本,每次记录 $\hat{p}$。(a) 点图里有多少个值?(b) 点图近似什么?(c) 你预计它以哪个值为中心?

(a) 100, one $\hat{p}$ per sample. (b) The sampling distribution of $\hat{p}$ for samples of size 25. (c) Near 0.30, the true value of $p$.

(a) 100 个,每个样本一个 $\hat{p}$。(b) 容量 25 的样本中 $\hat{p}$ 的抽样分布。(c) 在 0.30 附近,即 $p$ 的真实值。

Sampling distributions and the Central Limit Theorem抽样分布与中心极限定理

Learning objectives学习目标
  • Distinguish a parameter from a statistic and describe a sampling distribution.
  • State the mean, standard deviation and shape of the sampling distribution of $\hat p$ and of $\bar x$, with conditions.
  • Apply the Central Limit Theorem and explain what happens as $n$ grows.
  • Calculate probabilities for $\hat p$ and $\bar x$ with the normal model (including a normal-distribution review).
  • 区分参数与统计量,并描述抽样分布。
  • 陈述 $\hat p$ 与 $\bar x$ 的抽样分布的均值、标准差与形状及其条件。
  • 应用中心极限定理,并说明 $n$ 增大时会发生什么。
  • 用正态模型计算 $\hat p$ 与 $\bar x$ 的概率(含正态分布复习)。

A parameter is a number describing a population ($p$, $\mu$); a statistic is a number computed from a sample ($\hat p$, $\bar x$). A statistic varies from sample to sample. Its sampling distribution is the distribution of values of the statistic over all possible samples of the same size from the same population.

参数是描述总体的数($p$、$\mu$);统计量是由样本算出的数($\hat p$、$\bar x$)。统计量会随样本而变化。它的抽样分布是:从同一总体抽取所有同样大小的样本时,该统计量取值的分布。

Sample proportion $\hat p$Sample mean $\bar x$
Center$\mu_{\hat p}=p$$\mu_{\bar x}=\mu$
Spread$\sigma_{\hat p}=\sqrt{\dfrac{p(1-p)}{n}}$$\sigma_{\bar x}=\dfrac{\sigma}{\sqrt n}$
Spread valid if$n\le \tfrac1{10}N$ (10% condition)$n\le \tfrac1{10}N$ (10% condition)
Approximately normal if$np\ge10$ and $n(1-p)\ge10$ (Large Counts)population normal, or $n$ large (a common guideline is $n\ge30$) by the CLT
样本比例 $\hat p$样本均值 $\bar x$
中心$\mu_{\hat p}=p$$\mu_{\bar x}=\mu$
离散程度$\sigma_{\hat p}=\sqrt{\dfrac{p(1-p)}{n}}$$\sigma_{\bar x}=\dfrac{\sigma}{\sqrt n}$
离散公式成立的条件$n\le \tfrac1{10}N$(10% 条件)$n\le \tfrac1{10}N$(10% 条件)
近似正态的条件$np\ge10$ 且 $n(1-p)\ge10$(大计数条件)总体为正态,或 $n$ 较大(常用经验标准 $n\ge30$),依据 CLT
Must know

Central Limit Theorem (CLT): for a population with mean $\mu$ and standard deviation $\sigma$, the sampling distribution of $\bar x$ is approximately normal when $n$ is large, whatever the shape of the population; the approximation improves as $n$ grows. If the population is itself normal, $\bar x$ is normal for every $n$. Increasing $n$ shrinks the spread by the factor $\sqrt n$ but does not change the center.

必备知识

中心极限定理(CLT):对均值 $\mu$、标准差 $\sigma$ 的总体,$n$ 较大时 $\bar x$ 的抽样分布近似为正态,与总体形状无关;$n$ 越大近似越好。若总体本身正态,则对任意 $n$,$\bar x$ 都是正态。增大 $n$ 使离散程度按 $\sqrt n$ 缩小,但不改变中心。

Explore it: the CLT visualizer lets you change the population shape and the sample size $n$ and shows the histogram of many sample means. See also the binomial sampling simulator for $\hat p$.

动手探索:CLT 可视化工具可改变总体形状与样本量 $n$,并显示大量样本均值的直方图。关于 $\hat p$ 还可参见二项抽样模拟器。

2020 2424 2828 3232 3636 4040 4444 Sample mean (minutes)样本均值(分钟) center stays at the population mean 32中心保持在总体均值 32 n = 4n = 4 n = 25n = 25 n = 100n = 100
Figure 7. Sampling distribution of the sample mean for a population with mean 32 and standard deviation 14 (Example 4.12b). The center does not move, but the spread 14/sqrt(n) shrinks as n grows: 7, 2.8 and 1.4.图 7. 总体均值 32、标准差 14 时样本均值的抽样分布(例 4.12b)。中心不变,但离散程度 14/sqrt(n) 随 n 增大而缩小:7、2.8、1.4。
Also on the 2027 exam: review of the normal distribution (topic 2.11)

A normal distribution is symmetric and described by $\mu$ and $\sigma$. Standardize with $z=\dfrac{x-\mu}{\sigma}$. The empirical rule gives about $68\%$, $95\%$ and $99.7\%$ within $1$, $2$ and $3$ standard deviations. Calculator: normalcdf(lower, upper, μ, σ) for areas and invNorm(area, μ, σ) for percentiles (TI-Nspire: Normal Cdf and Inverse Normal). Use $\sigma/\sqrt n$ or $\sqrt{p(1-p)/n}$ as the standard deviation when the question is about a sample statistic.

对应 2027 考试新增内容:正态分布复习(主题 2.11)

正态分布对称,由 $\mu$ 与 $\sigma$ 描述。用 $z=\dfrac{x-\mu}{\sigma}$ 标准化。经验法则:在 $1$、$2$、$3$ 个标准差内分别约有 $68\%$、$95\%$、$99.7\%$。计算器:求面积用 normalcdf(下限, 上限, μ, σ),求百分位数用 invNorm(面积, μ, σ)(TI-Nspire:Normal Cdf 与 Inverse Normal)。当问题涉及样本统计量时,标准差要用 $\sigma/\sqrt n$ 或 $\sqrt{p(1-p)/n}$。

Worked examples例题

Worked Example 4.12a: Sampling distribution of a sample proportion

In a synthetic school of $4000$ students, $60\%$ use a laptop in class. A random sample of $n=150$ students is taken. Describe the sampling distribution of $\hat p$ and find $P(\hat p<0.55)$.

  1. Conditions: random sample; $150\le\tfrac1{10}(4000)=400$ (10% condition); $np=150(0.6)=90\ge10$ and $n(1-p)=60\ge10$ (Large Counts).
  2. Center $\mu_{\hat p}=0.60$. Spread $\sigma_{\hat p}=\sqrt{0.6(0.4)/150}=\sqrt{0.0016}=0.04$.
  3. Shape: approximately normal, $N(0.60,\,0.04)$.
  4. $z=\dfrac{0.55-0.60}{0.04}=-1.25$, so $P(\hat p<0.55)=P(z<-1.25)\approx0.1056$ (normalcdf(-1E99,0.55,0.6,0.04)).
  5. Interpretation: about $10.6\%$ of random samples of $150$ students would have fewer than $55\%$ laptop users.
例题 4.12a:样本比例的抽样分布

在一所合成的 $4000$ 名学生的学校中,$60\%$ 的学生课堂上使用笔记本电脑。随机抽取 $n=150$ 名学生。描述 $\hat p$ 的抽样分布并求 $P(\hat p<0.55)$。

  1. 条件:随机样本;$150\le\tfrac1{10}(4000)=400$(10% 条件);$np=150(0.6)=90\ge10$ 且 $n(1-p)=60\ge10$(大计数条件)。
  2. 中心 $\mu_{\hat p}=0.60$。离散程度 $\sigma_{\hat p}=\sqrt{0.6(0.4)/150}=\sqrt{0.0016}=0.04$。
  3. 形状:近似正态,$N(0.60,\,0.04)$。
  4. $z=\dfrac{0.55-0.60}{0.04}=-1.25$,所以 $P(\hat p<0.55)=P(z<-1.25)\approx0.1056$(normalcdf(-1E99,0.55,0.6,0.04))。
  5. 解释:在随机抽取 $150$ 名学生的样本中,约 $10.6\%$ 的样本里笔记本电脑使用者不足 $55\%$。
Worked Example 4.12b: Sampling distribution of a sample mean (skewed population)

Delivery waiting times at a synthetic depot are right skewed with mean $\mu=32$ minutes and standard deviation $\sigma=14$ minutes (population of thousands of deliveries). For a random sample of $n=49$ deliveries, find $P(\bar x>35)$ and explain why a normal model is justified.

  1. Center $\mu_{\bar x}=32$ minutes. Spread $\sigma_{\bar x}=14/\sqrt{49}=14/7=2$ minutes.
  2. Shape: the population is skewed, but $n=49\ge30$ and the sample is random and under $10\%$ of the population, so the CLT makes $\bar x$ approximately normal: $N(32,\,2)$.
  3. $z=\dfrac{35-32}{2}=1.50$, so $P(\bar x>35)=P(z>1.50)\approx0.0668$.
  4. Contrast: an individual wait over $35$ minutes cannot be found with a normal model because the population is skewed. Averages of $49$ waits are far less variable ($2$ versus $14$ minutes) and nearly normal.
例题 4.12b:样本均值的抽样分布(偏斜总体)

某合成配送站的等待时间右偏,均值 $\mu=32$ 分钟,标准差 $\sigma=14$ 分钟(总体为数千次配送)。随机抽取 $n=49$ 次配送,求 $P(\bar x>35)$,并说明为何可用正态模型。

  1. 中心 $\mu_{\bar x}=32$ 分钟。离散程度 $\sigma_{\bar x}=14/\sqrt{49}=14/7=2$ 分钟。
  2. 形状:总体偏斜,但 $n=49\ge30$,样本随机且不超过总体的 $10\%$,由 CLT 知 $\bar x$ 近似正态:$N(32,\,2)$。
  3. $z=\dfrac{35-32}{2}=1.50$,所以 $P(\bar x>35)=P(z>1.50)\approx0.0668$。
  4. 对比:因总体偏斜,单次等待超过 $35$ 分钟的概率不能用正态模型求。$49$ 次等待的平均值变化小得多($2$ 对 $14$ 分钟),且近似正态。
Worked Example 4.12c: Normal model review

Reading speeds in a synthetic population are $N(70,\,8)$ words per minute. Find $P(X<62)$ and the 90th percentile.

  1. $z=\dfrac{62-70}{8}=-1$, so $P(X<62)=P(z<-1)\approx0.1587$.
  2. 90th percentile: invNorm(0.90,70,8) gives $z\approx1.2816$, so $x=70+1.2816(8)\approx80.25$ words per minute.
  3. Interpretation: $90\%$ of readers in this population read at most about $80.3$ words per minute.
例题 4.12c:正态模型复习

某合成总体的阅读速度服从 $N(70,\,8)$(词/分钟)。求 $P(X<62)$ 与第 90 百分位数。

  1. $z=\dfrac{62-70}{8}=-1$,所以 $P(X<62)=P(z<-1)\approx0.1587$。
  2. 第 90 百分位数:invNorm(0.90,70,8) 给出 $z\approx1.2816$,所以 $x=70+1.2816(8)\approx80.25$ 词/分钟。
  3. 解释:该总体中 $90\%$ 的读者阅读速度不超过约 $80.3$ 词/分钟。
AP FRQ response model: a sampling distribution of a proportion

A factory's long-run defect rate is $12\%$. An inspector takes a random sample of $200$ items from a very large production run. Describe the sampling distribution of the sample proportion defective and find the probability that it exceeds $0.16$.

What a complete answer states

  1. Center: $\mu_{\hat p}=0.12$.
  2. Spread: $\sigma_{\hat p}=\sqrt{\dfrac{0.12(0.88)}{200}}\approx0.0230$. Check the 10% condition (the run is far more than $2000$ items).
  3. Shape: Large Counts holds, $np=24\ge10$ and $n(1-p)=176\ge10$, so $\hat p$ is approximately $N(0.12,\,0.0230)$.
  4. Compute: $z=\dfrac{0.16-0.12}{0.0230}\approx1.74$, so $P(\hat p>0.16)\approx0.041$.
  5. Conclusion in context: about $4\%$ of random samples of $200$ items would have more than $16\%$ defective, even though the true rate is $12\%$.
AP 简答题答题模型:比例的抽样分布

某工厂的长期次品率为 $12\%$。检验员从很大的一批产品中随机抽取 $200$ 件。描述样本次品率的抽样分布,并求其超过 $0.16$ 的概率。

完整答案要点

  1. 中心:$\mu_{\hat p}=0.12$。
  2. 离散程度:$\sigma_{\hat p}=\sqrt{\dfrac{0.12(0.88)}{200}}\approx0.0230$。检验 10% 条件(该批产品远多于 $2000$ 件)。
  3. 形状:大计数条件成立,$np=24\ge10$,$n(1-p)=176\ge10$,所以 $\hat p$ 近似 $N(0.12,\,0.0230)$。
  4. 计算:$z=\dfrac{0.16-0.12}{0.0230}\approx1.74$,所以 $P(\hat p>0.16)\approx0.041$。
  5. 结合情境的结论:即使真实次品率为 $12\%$,每 $200$ 件的随机样本中仍约有 $4\%$ 的样本次品率超过 $16\%$。
Go deeper: differences of two independent statistics

The rules of Topic 6.3 extend the sampling distributions to differences. For independent samples, $\mu_{\hat p_1-\hat p_2}=p_1-p_2$ with standard deviation $\sqrt{\dfrac{p_1(1-p_1)}{n_1}+\dfrac{p_2(1-p_2)}{n_2}}$, and $\mu_{\bar x_1-\bar x_2}=\mu_1-\mu_2$ with standard deviation $\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}$. Variances add, even for a difference. These facts are used when comparing two groups in later inference units.

深入理解:两个独立统计量的差

主题 6.3 的规则可把抽样分布推广到差。对独立样本,$\mu_{\hat p_1-\hat p_2}=p_1-p_2$,标准差为 $\sqrt{\dfrac{p_1(1-p_1)}{n_1}+\dfrac{p_2(1-p_2)}{n_2}}$;$\mu_{\bar x_1-\bar x_2}=\mu_1-\mu_2$,标准差为 $\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}$。即使对差,也是方差相加。这些结论将在后续比较两组的推断单元中使用。

Common Mistake: wrong standard deviation, wrong target for the CLT, unchecked Large Counts

Using $\sigma$ instead of $\sigma/\sqrt n$ for a question about $\bar x$; claiming the CLT makes the population or the sample data normal (it makes the sampling distribution of $\bar x$ approximately normal); and applying the normal model to $\hat p$ without checking Large Counts.

常见错误:标准差用错、CLT 的对象说错、未检验大计数条件

问题涉及 $\bar x$ 时误用 $\sigma$ 而非 $\sigma/\sqrt n$;声称 CLT 使总体或样本数据变成正态(它使 $\bar x$ 的抽样分布近似正态);未检验大计数条件就对 $\hat p$ 使用正态模型。

AP exam tipAP 考试提示

For any sampling-distribution probability, write three things: the conditions (random, $10\%$, Large Counts or CLT), the center and spread of the sampling distribution, and the probability with a sentence in context. Leaving out any one of them makes the answer incomplete.

对任何抽样分布概率,写出三件事:条件(随机、$10\%$、大计数或 CLT)、抽样分布的中心与离散程度,以及结合情境的概率结论。缺少其中任何一项,答案都不完整。

Check your understanding自我检测
A sample of $200$ voters has $56\%$ in favor; the population value is $52\%$. Which is the parameter and which is the statistic?$200$ 名选民的样本中有 $56\%$ 赞成;总体值为 $52\%$。哪个是参数,哪个是统计量?

$\hat p=0.56$ is the statistic (from the sample); $p=0.52$ is the parameter (of the population).

$\hat p=0.56$ 是统计量(来自样本);$p=0.52$ 是参数(属于总体)。

If the sample size is quadrupled, what happens to $\sigma_{\bar x}$ and to $\mu_{\bar x}$?样本量变为原来的四倍,$\sigma_{\bar x}$ 与 $\mu_{\bar x}$ 各有何变化?

$\sigma_{\bar x}=\sigma/\sqrt n$ is halved ($\sqrt4=2$). $\mu_{\bar x}=\mu$ does not change.

$\sigma_{\bar x}=\sigma/\sqrt n$ 减半($\sqrt4=2$)。$\mu_{\bar x}=\mu$ 不变。

A population is strongly skewed. Is $\bar x$ approximately normal for $n=5$? For $n=60$?总体强烈偏斜。$n=5$ 时 $\bar x$ 近似正态吗?$n=60$ 时呢?

For $n=5$ it need not be: the CLT needs a large $n$. For $n=60$ (random, under $10\%$ of the population) yes, approximately normal by the CLT.

$n=5$ 时不一定:CLT 需要较大的 $n$。$n=60$ 时(随机且不超过总体的 $10\%$)是,由 CLT 近似正态。

The Central Limit Theorem中心极限定理

Learning objectives学习目标
  • State the Central Limit Theorem and describe the sampling distribution of $\bar{x}$ it predicts.
  • Explain how the shape of the sampling distribution of $\bar{x}$ depends on the shape of the population and on $n$.
  • Decide whether a Normal model for $\bar{x}$ is justified from the population shape and the sample size.
  • Explain why the centre of the sampling distribution stays at $\mu$ while its spread decreases as $n$ increases.
  • Calculate a probability for a sample mean from a skewed population when $n$ is large.
  • 陈述中心极限定理,并描述它所预测的 $\bar{x}$ 的抽样分布。
  • 解释 $\bar{x}$ 抽样分布的形状如何依赖于总体的形状与 $n$。
  • 根据总体形状与样本量,判断能否对 $\bar{x}$ 使用正态模型。
  • 解释为什么抽样分布的中心保持在 $\mu$,而离散程度随 $n$ 增大而变小。
  • 当 $n$ 较大时,计算来自偏斜总体的样本均值的概率。

If the population is Normal (a normally distributed population), the sampling distribution of $\bar{x}$ is exactly Normal for every sample size, even $n=1$. If the population is not Normal, the shape of the sampling distribution depends on $n$. The Central Limit Theorem (CLT) says that when the sample is a random sample and $n$ is large, the sampling distribution of $\bar{x}$ is approximately Normal whatever the shape of the population.

若总体服从正态分布(population is Normal),则 $\bar{x}$ 的抽样分布对任何样本量(包括 $n=1$)都恰好是正态的。若总体不是正态的,抽样分布的形状取决于 $n$。中心极限定理(Central Limit Theorem,CLT)指出:当样本为随机样本且 $n$ 较大时,无论总体形状如何,$\bar{x}$ 的抽样分布都近似正态(approximately Normal)。

The usual guideline is $n \ge 30$: with at least 30 observations, treat $\bar{x}$ as approximately Normal. It is a guideline, not a law. A population that is strongly skewed or has outliers may need a larger $n$, while a nearly symmetric population needs much less. For small $n$ from a non-Normal population, you cannot claim a Normal shape. In every case the centre of the sampling distribution stays at $\mu$, and the spread shrinks as $n$ grows (Figure 5.3).

常用的经验标准是 $n \ge 30$:观测不少于 30 个(at least 30)时,可把 $\bar{x}$ 看作近似正态。这是经验标准,不是定律。强烈偏斜(skewed)或有离群值的总体可能需要更大的 $n$,近似对称的总体则要小得多。对来自非正态总体、$n$ 较小的样本,不能断言形状为正态。无论哪种情形,抽样分布的中心都保持在 $\mu$,离散程度随 $n$ 增大而变小(图 5.3)。

0102030n = 1 (the skewed population)n = 1(偏斜的总体)n = 5n = 5n = 30: nearly Normaln = 30:近似正态Sample mean x-bar (population mean 10, SD 10)样本均值 x-bar(总体均值 10,标准差 10)
Figure 5.3. Same right-skewed population, three sample sizes (exact curves for a population with an exponential shape). The centre stays at 10, the spread shrinks, and the shape moves toward Normal as n grows.图 5.3。同一个右偏总体、三种样本量(总体为指数分布形状时的精确曲线)。中心始终是 10,离散程度变小,随着 n 增大形状趋向正态。
Worked Example 5.5: a probability for a mean from a skewed population例题 5.5:来自偏斜总体的均值的概率

Waiting time at a clinic is strongly right-skewed with mean $\mu=12$ min and standard deviation $\sigma=9$ min (illustrative). A random sample of $n=36$ patients is taken from the many thousands of patients seen in a year. Find the probability that the sample mean wait is more than 14 min.

  1. Shape: the population is skewed, but $n=36\ge30$ and the sample is random, so by the CLT the sampling distribution of $\bar{x}$ is approximately Normal.
  2. Centre and spread: mean $=12$ min; SD $=\dfrac{9}{\sqrt{36}}=1.5$ min.
  3. Probability: $z=\dfrac{14-12}{1.5}\approx1.33$. normalcdf(14, 1E99, 12, 1.5) $=0.0912$.
  4. In context: there is about a 9.1% chance that a random sample of 36 patients has a mean wait of more than 14 min.
  5. Why this works: the CLT lets us use the Normal curve for the mean even though individual waits are skewed.

诊所的候诊时间强烈右偏,均值 $\mu=12$ 分钟,标准差 $\sigma=9$ 分钟(示意数据)。从一年中数千名患者中随机抽取 $n=36$ 人。求样本平均候诊时间超过 14 分钟的概率。

  1. 形状:总体偏斜,但 $n=36\ge30$ 且样本随机,由 CLT,$\bar{x}$ 的抽样分布近似正态。
  2. 中心与离散:均值 $=12$ 分钟;标准差 $=\dfrac{9}{\sqrt{36}}=1.5$ 分钟。
  3. 概率:$z=\dfrac{14-12}{1.5}\approx1.33$。normalcdf(14, 1E99, 12, 1.5) $=0.0912$。
  4. 结合情境:随机抽取 36 名患者,其平均候诊时间超过 14 分钟的概率约为 9.1%。
  5. 原理:尽管单个候诊时间是偏斜的,CLT 使我们可以对均值使用正态曲线。
Worked Example 5.6: is a Normal model for the sample mean justified?例题 5.6:能否对样本均值使用正态模型?

For each random sample decide whether the sampling distribution of $\bar{x}$ is Normal, approximately Normal, or cannot be called Normal. (a) $n=12$ from a Normal population. (b) $n=12$ from a strongly skewed population. (c) $n=45$ from a strongly skewed population.

  1. (a) Exactly Normal. When the population is Normal, $\bar{x}$ is Normal for any $n$, including 12.
  2. (b) Cannot be called Normal. The population is skewed and $n=12$ is below 30, so the CLT does not apply; the sampling distribution keeps some of the skew.
  3. (c) Approximately Normal. $n=45\ge30$, so the CLT applies. Because the skew is strong, the approximation is only fair, and a larger $n$ would be safer.
  4. Why this works: shape comes from the population when $n$ is small and from the CLT when $n$ is large.

对下列每个随机样本,判断 $\bar{x}$ 的抽样分布是正态、近似正态,还是不能称为正态。(a) 来自正态总体,$n=12$。(b) 来自强烈偏斜总体,$n=12$。(c) 来自强烈偏斜总体,$n=45$。

  1. (a) 恰好正态。总体为正态时,$\bar{x}$ 在任何 $n$(包括 12)下都是正态的。
  2. (b) 不能称为正态。总体偏斜且 $n=12$ 小于 30,CLT 不适用;抽样分布仍保留一定偏斜。
  3. (c) 近似正态。$n=45\ge30$,CLT 适用。由于偏斜强烈,近似只能算尚可,更大的 $n$ 会更稳妥。
  4. 原理:$n$ 小时形状由总体决定,$n$ 大时形状由 CLT 决定。
Worked Example 5.6b: a mean versus one individual例题 5.6b:样本均值与单个个体

Daily screen time for teenagers in a large school district is strongly right-skewed with mean $\mu=4.2$ hours and standard deviation $\sigma=2.6$ hours (illustrative). A random sample of $n=50$ teenagers is chosen from the district's many thousands. (a) Justify a Normal model for $\bar{x}$ and find $P(\bar{x}<3.5)$. (b) Can the same Normal model be used to find the probability that one randomly chosen teenager has under 3.5 hours? Explain.

  1. (a) Conditions: random sample; 50 is far below 10% of many thousands; the population is skewed but $n=50\ge30$, so by the Central Limit Theorem $\bar{x}$ is approximately Normal.
  2. Centre and spread: mean $4.2$ hours; SD $=\dfrac{2.6}{\sqrt{50}}=0.3677$ hours.
  3. Probability: $z=\dfrac{3.5-4.2}{0.3677}\approx-1.90$, so normalcdf(-1E99, 3.5, 4.2, 0.3677) $\approx0.0285$.
  4. (b) No. The Normal model describes $\bar{x}$. One teenager's screen time follows the skewed population (SD 2.6, not 0.3677), and the CLT says nothing about a single value.
  5. Conclusion: a complete answer states that the probability that the mean screen time of 50 randomly chosen teenagers in this district is under 3.5 hours is about 0.028, and that this number cannot be reused for one teenager.
  6. Why this works: the CLT changes the shape of the distribution of the mean; it does not change the population of individuals.

某大型学区青少年的每日屏幕时间强右偏,均值 $\mu=4.2$ 小时,标准差 $\sigma=2.6$ 小时(示意数据)。从该学区数以千计的青少年中随机抽取 $n=50$ 人。(a) 说明可对 $\bar{x}$ 使用正态模型,并求 $P(\bar{x}<3.5)$。(b) 能否用同一个正态模型求随机抽取的一名青少年屏幕时间不足 3.5 小时的概率?请解释。

  1. (a) 条件:随机样本;50 远小于数以千计的 10%;总体偏斜,但 $n=50\ge30$,所以由中心极限定理,$\bar{x}$ 近似正态。
  2. 中心与离散程度:均值 $4.2$ 小时;标准差 $=\dfrac{2.6}{\sqrt{50}}=0.3677$ 小时。
  3. 概率:$z=\dfrac{3.5-4.2}{0.3677}\approx-1.90$,所以 normalcdf(-1E99, 3.5, 4.2, 0.3677) $\approx0.0285$。
  4. (b) 不能。正态模型描述的是 $\bar{x}$。单个青少年的屏幕时间服从偏斜的总体(标准差 2.6,而不是 0.3677),中心极限定理对单个取值没有任何结论。
  5. 结论:完整答案要点:该学区随机抽取的 50 名青少年的平均屏幕时间不足 3.5 小时的概率约为 0.028,而且这个数不能用于单个青少年。
  6. 原理:CLT 改变的是样本均值分布的形状,不会改变个体所在总体的分布。
Exam tip考试提示

Justify Normality in a sentence that names both the sample and the reason: "The sample is random and $n=36\ge30$, so by the Central Limit Theorem the sampling distribution of $\bar{x}$ is approximately Normal." "The sample size is large" alone, or "the data are Normal" for a skewed population, is not a complete justification. If $n<30$ and the population shape is not given, say what you would need (a Normal population, or a sample plot with no strong skew or outliers).

用一句话说明正态性,并写出样本和理由:“样本是随机的,且 $n=36\ge30$,所以由中心极限定理,$\bar{x}$ 的抽样分布近似正态。”只写“样本量大”,或对偏斜总体写“数据是正态的”,都不是完整的理由。若 $n<30$ 且未给出总体形状,要说明还需要什么(正态总体,或样本图中没有强烈偏斜与离群值)。

Common mistakes
  • Saying the CLT makes the population or the sample data Normal. It describes the sampling distribution of $\bar{x}$ only.
  • Using $n\ge30$ as a rule that always works. Strong skew or outliers can make the approximation poor at $n=30$.
  • Thinking the mean of the sampling distribution moves toward the middle of the sample as $n$ grows. Its centre is always $\mu$.
常见错误
  • 说 CLT 使总体或样本数据变成正态。它只描述 $\bar{x}$ 的抽样分布。
  • 把 $n\ge30$ 当成永远有效的规则。强烈偏斜或有离群值时,$n=30$ 的近似也可能很差。
  • 认为随着 $n$ 增大,抽样分布的均值会移向样本的中间。它的中心始终是 $\mu$。
Common Mistake: using the distribution of $\bar{x}$ for one individual

In Worked Example 5.5 (clinic waits with $\mu=12$ and $\sigma=9$ minutes), a student is asked for the chance that one patient waits more than 14 minutes and types normalcdf(14, 1E99, 12, 1.5), getting 0.0912. That number is the chance that a mean of 36 patients exceeds 14 minutes. For one patient the standard deviation is 9, not 1.5, and the waits are skewed, so no Normal model is justified; even N(12, 9) would give about 0.41, which is not trustworthy for a skewed population. Fix: before using a Normal curve, ask whether the question is about one value or about a mean.

常见错误:用 $\bar{x}$ 的分布回答关于单个个体的问题

在例题 5.5(诊所等待时间,$\mu=12$,$\sigma=9$ 分钟)中,有人被问到一名患者等待超过 14 分钟的概率,却输入 normalcdf(14, 1E99, 12, 1.5),得到 0.0912。这个数是 36 名患者的平均等待超过 14 分钟的概率。对一名患者而言,标准差是 9 而不是 1.5,而且等待时间偏斜,不能使用正态模型;即使用 N(12, 9) 得到约 0.41,对偏斜总体也不可信。改正:使用正态曲线之前,先问清问题问的是单个取值还是均值。

Check your understanding自我检测
State the Central Limit Theorem in one sentence.用一句话陈述中心极限定理。

For a random sample, when $n$ is large (guideline $n\ge30$), the sampling distribution of $\bar{x}$ is approximately Normal, whatever the shape of the population.

对于随机样本,当 $n$ 较大(经验标准 $n\ge30$)时,无论总体形状如何,$\bar{x}$ 的抽样分布都近似正态。

A population is skewed right. Sketch in words how the sampling distribution of $\bar{x}$ changes as $n$ goes from 2 to 5 to 30.总体右偏。用文字描述 $\bar{x}$ 的抽样分布如何随 $n$ 从 2 增至 5 再增至 30 而变化。

It stays centred at $\mu$, becomes less skewed and more bell-shaped, and its spread becomes smaller each time.

它始终以 $\mu$ 为中心,偏斜逐渐减弱、越来越像钟形,离散程度每次都变小。

Salaries are strongly skewed with mean $\mu=60$ and $\sigma=20$ (thousand dollars). For a random sample of 40 workers find the probability that $\bar{x}$ exceeds 65, and say why a Normal model is justified.薪资强烈偏斜,均值 $\mu=60$,$\sigma=20$(千美元)。对 40 名随机抽取的员工,求 $\bar{x}$ 超过 65 的概率,并说明为何可用正态模型。

Random sample and $n=40\ge30$, so by the CLT $\bar{x}$ is approximately Normal with mean 60 and SD $20/\sqrt{40}=3.162$. normalcdf(65, 1E99, 60, 3.162) $=0.0569$, about 5.7%.

样本随机且 $n=40\ge30$,由 CLT,$\bar{x}$ 近似正态,均值 60,标准差 $20/\sqrt{40}=3.162$。normalcdf(65, 1E99, 60, 3.162) $=0.0569$,约 5.7%。

Biased and Unbiased Point Estimates有偏与无偏的点估计

Learning objectives学习目标
  • Define a point estimate and identify the statistic used to estimate a given parameter.
  • Explain what it means for a statistic to be an unbiased estimator in terms of the mean of its sampling distribution.
  • Distinguish bias from variability using a picture of a sampling distribution.
  • Explain why a larger sample reduces variability but does not remove bias.
  • Identify an estimator or sampling method as biased from a description and state the direction of the bias.
  • 定义点估计,并为给定参数指出用来估计它的统计量。
  • 用抽样分布的均值解释“无偏估计量”的含义。
  • 借助抽样分布的图区分偏差与变异。
  • 解释为什么更大的样本降低变异,却不能消除偏差。
  • 根据描述判断某个估计量或抽样方法是否有偏,并说明偏差的方向。

A point estimate is the value of a statistic used as a single-number estimate of a parameter: $\bar{x}$ estimates $\mu$, and $\hat{p}$ estimates $p$. A statistic is an unbiased estimator of a parameter when the mean of its sampling distribution equals the parameter. Unbiased does not mean any one estimate is correct: individual values land above or below the parameter, but they balance out over repeated samples. Both $\bar{x}$ (for $\mu$) and $\hat{p}$ (for $p$) are unbiased when the data come from a random sample.

点估计(point estimate)是用统计量的值作为参数的单一数值估计:$\bar{x}$ 估计 $\mu$,$\hat{p}$ 估计 $p$。当统计量的抽样分布的均值等于参数时,该统计量是该参数的无偏估计量(unbiased estimator)。无偏并不表示某一次估计是准确的:个别取值有高有低,但在重复抽样中会相互抵消。当数据来自随机样本时,$\bar{x}$(估计 $\mu$)与 $\hat{p}$(估计 $p$)都是无偏的。

Bias is about the centre: a biased statistic has a sampling distribution whose mean is not the parameter, so it is systematically too high or too low. Variability is about the spread of the sampling distribution: how much the statistic changes from sample to sample. The best statistic has low bias and low variability (Figure 5.4). Bias comes from the method (a flawed sampling plan or a poor estimator); variability is reduced by taking a larger sample. A larger sample makes the sampling distribution narrower around the same wrong centre if the method is biased, so it does not remove bias.

偏差(bias)关乎中心:有偏统计量的抽样分布的均值不等于参数,因此系统性地偏高或偏低。变异(variability)关乎抽样分布的离散程度:统计量随样本变化的幅度。最好的统计量偏差小且变异小(图 5.4)。偏差来自方法(有缺陷的抽样方案或不好的估计量);变异则可通过更大的样本(larger sample)降低。如果方法有偏,更大的样本只会让抽样分布围绕同一个错误的中心变窄,所以并不能消除偏差。

Low bias, low variability偏差小,变异小Low bias, high variability偏差小,变异大High bias, low variability偏差大,变异小High bias, high variability偏差大,变异大dashed line = true parameter虚线 = 真实参数
Figure 5.4. Each panel shows many values of a statistic (illustrative). Bias is how far the centre of the dots sits from the dashed true value; variability is how spread out the dots are. The statistic in the top-left panel is the one to want.图 5.4。每个面板显示某个统计量的多个取值(示意)。偏差是点的中心离虚线(真实值)有多远;变异是点有多分散。左上角的统计量是理想的。
Worked Example 5.7: checking bias by listing every sample例题 5.7:列出所有样本来检验偏差

A tiny population has five values: 2, 4, 6, 8, 10, so $\mu=6$ and the largest value is 10. List every possible sample of size 2 (no repeats). Compare the mean of the sampling distribution of $\bar{x}$ with $\mu$, and the mean of the sampling distribution of the sample maximum with 10.

  1. There are $\binom{5}{2}=10$ equally likely samples: (2,4), (2,6), (2,8), (2,10), (4,6), (4,8), (4,10), (6,8), (6,10), (8,10).
  2. Sample means: 3, 4, 5, 6, 5, 6, 7, 7, 8, 9. Their sum is 60, so the mean of the sampling distribution of $\bar{x}$ is $60/10=6=\mu$. The sample mean is an unbiased estimator of $\mu$.
  3. Sample maxima: 4, 6, 8, 10, 6, 8, 10, 8, 10, 10. Their sum is 80, so the mean is $80/10=8\ne10$. The sample maximum is a biased estimator of the population maximum, and it never overestimates (it is never above 10).
  4. Why this works: unbiasedness is a statement about the average over all samples, which is exactly what listing every sample gives.

一个很小的总体有五个值:2、4、6、8、10,所以 $\mu=6$,最大值为 10。列出容量为 2 的所有可能样本(不重复)。把 $\bar{x}$ 的抽样分布的均值与 $\mu$ 比较,把样本最大值的抽样分布的均值与 10 比较。

  1. 共有 $\binom{5}{2}=10$ 个等可能的样本:(2,4)、(2,6)、(2,8)、(2,10)、(4,6)、(4,8)、(4,10)、(6,8)、(6,10)、(8,10)。
  2. 样本均值:3、4、5、6、5、6、7、7、8、9。总和为 60,所以 $\bar{x}$ 的抽样分布的均值为 $60/10=6=\mu$。样本均值是 $\mu$ 的无偏估计量。
  3. 样本最大值:4、6、8、10、6、8、10、8、10、10。总和为 80,所以均值为 $80/10=8\ne10$。样本最大值是总体最大值的有偏估计量,而且从不高估(从不超过 10)。
  4. 原理:无偏性说的是所有样本上的平均,而列出全部样本恰好给出这个平均。
Worked Example 5.8: bias versus variability in a poll例题 5.8:民调中的偏差与变异

A company surveys customers by calling only landline numbers from a customer list that includes many households with no landline. (a) It surveys 500 customers and then 5,000. Does the larger sample fix the problem? (b) For a random sample with $p=0.5$, compare the standard deviation of $\hat{p}$ when $n=100$ and $n=400$.

  1. (a) No. Customers without a landline can never be selected (undercoverage), so $\hat{p}$ is biased in a systematic direction. A larger sample is just a more precise estimate of the wrong value: variability falls, bias stays. The fix is a better method, such as random selection from the full list with calls to every phone type.
  2. (b) $\sqrt{\dfrac{0.5(0.5)}{100}}=0.05$ and $\sqrt{\dfrac{0.5(0.5)}{400}}=0.025$. Quadrupling $n$ halves the variability of $\hat{p}$.
  3. Why this works: sample size enters only the spread formula, never the centre, so it cannot cure bias.

某公司只拨打客户名单中的座机号码来调查客户,而名单中许多家庭没有座机。(a) 它先调查了 500 名客户,又调查了 5,000 名。更大的样本能解决问题吗?(b) 对 $p=0.5$ 的随机样本,比较 $\hat{p}$ 的标准差在 $n=100$ 和 $n=400$ 时的大小。

  1. (a) 不能。没有座机的客户永远不可能被选中(覆盖不足),所以 $\hat{p}$ 沿某个方向系统性地有偏。更大的样本只是对错误数值的更精确估计:变异下降,偏差依旧。解决办法是改进方法,例如从完整名单中随机抽取,并拨打各类电话。
  2. (b) $\sqrt{\dfrac{0.5(0.5)}{100}}=0.05$,$\sqrt{\dfrac{0.5(0.5)}{400}}=0.025$。$n$ 增为 4 倍,$\hat{p}$ 的变异减半。
  3. 原理:样本量只出现在离散程度的公式中,不影响中心,所以无法消除偏差。
Worked Example 5.8b: choosing between estimators from a simulation例题 5.8b:根据模拟在估计量之间做选择

To estimate a population mean $\mu=50$, a student simulates three estimators. Each is computed from 1,000 random samples of size $n=25$, and the mean and standard deviation of the 1,000 values are recorded. Estimator A: mean 50.1, SD 6.2. Estimator B: mean 54.8, SD 1.1. Estimator C: mean 49.98, SD 1.3. (a) Describe the bias and the variability of each. (b) Which estimator should be used? (c) Suppose the sample size is quadrupled and each SD shrinks by the factor $1/\sqrt{4}$. What changes for each estimator?

  1. (a) A: bias about $50.1-50=+0.1$ (essentially none) but large variability (SD 6.2). B: bias $54.8-50=+4.8$ (it overestimates) and small variability (SD 1.1). C: bias about $49.98-50=-0.02$ (essentially none) and small variability (SD 1.3).
  2. (b) C. Check the centre first: A and C are centred on $\mu$ and B is not. Among A and C, C has the far smaller spread. B has the smallest SD, but its values agree with each other around the wrong value, $4.8/1.1\approx4.4$ standard deviations above $\mu$.
  3. (c) The SDs become about 3.1 (A), 0.55 (B) and 0.65 (C). A and C stay centred on $\mu$ with less spread. B stays centred at 54.8, so its bias of $+4.8$ remains.
  4. Conclusion: a complete answer states that C has low bias and low variability, that B's small SD does not make up for its bias, and that a larger sample reduces variability only.
  5. Why this works: bias is the gap between the centre of the sampling distribution and the parameter; variability is the spread around that centre. Judge both, in that order.

为估计总体均值 $\mu=50$,一名学生模拟了三个估计量。每个估计量由 1,000 个容量为 $n=25$ 的随机样本算出,并记录这 1,000 个值的均值与标准差。估计量 A:均值 50.1,标准差 6.2。估计量 B:均值 54.8,标准差 1.1。估计量 C:均值 49.98,标准差 1.3。(a) 描述每个估计量的偏差与变异。(b) 应使用哪个估计量?(c) 设样本量变为 4 倍,每个标准差缩小为原来的 $1/\sqrt{4}$。每个估计量有什么变化?

  1. (a) A:偏差约为 $50.1-50=+0.1$(基本无偏),但变异大(标准差 6.2)。B:偏差 $54.8-50=+4.8$(高估),变异小(标准差 1.1)。C:偏差约为 $49.98-50=-0.02$(基本无偏),变异小(标准差 1.3)。
  2. (b) C。先看中心:A 和 C 以 $\mu$ 为中心,B 不是。在 A 和 C 之间,C 的离散程度小得多。B 的标准差最小,但它的取值彼此相近,围绕的是错误的值,比 $\mu$ 高约 $4.8/1.1\approx4.4$ 个标准差。
  3. (c) 标准差变为约 3.1(A)、0.55(B)和 0.65(C)。A 和 C 仍以 $\mu$ 为中心,离散程度更小。B 仍以 54.8 为中心,$+4.8$ 的偏差依然存在。
  4. 结论:完整答案要点:C 偏差低且变异低;B 的小标准差弥补不了它的偏差;更大的样本只降低变异。
  5. 原理:偏差是抽样分布的中心与参数之间的差距;变异是围绕该中心的离散程度。两者都要判断,并且先看偏差。
Exam tip考试提示

Use the pair "bias is about the centre, variability is about the spread" in every answer. When asked how to improve a study, say whether the problem is bias (change the method, for example random selection from a full frame) or variability (increase $n$). Writing "take a larger sample" for a biased method does not address the problem.

每个答案都要用“偏差关乎中心,变异关乎离散程度”这一对概念。被问到如何改进研究时,要说明问题出在偏差(改变方法,如从完整抽样框中随机选取)还是变异(增大 $n$)。对有偏的方法回答“增大样本”并没有解决问题。

Common mistakes
  • Saying a statistic is unbiased means it equals the parameter for a given sample. It means the mean of its sampling distribution equals the parameter.
  • Believing that a bigger sample reduces bias from a poor sampling method.
  • Mixing up the two words: bias is systematic error in the centre; variability is chance spread.
常见错误
  • 认为统计量无偏意味着对给定样本它等于参数。其实是指它的抽样分布的均值等于参数。
  • 认为更大的样本能减少由糟糕抽样方法造成的偏差。
  • 混淆两个词:偏差是中心上的系统误差;变异是随机的离散。
Common Mistake: choosing the estimator with the smallest spread

Given the simulation in Worked Example 5.8b, a student writes, "B has the smallest standard deviation (1.1), so B is the best estimator." A small spread only says the values agree with one another; B's values agree on 54.8, which is 4.8 above the parameter 50. The error is not random, so averaging more data will never remove it. Fix: compare the centre of each sampling distribution with the parameter first (bias), and only then compare spreads (variability).

常见错误:只选离散程度最小的估计量

对于例题 5.8b 中的模拟,有人写道:“B 的标准差最小(1.1),所以 B 是最好的估计量。”离散程度小只说明各个值彼此接近;B 的值集中在 54.8,比参数 50 高 4.8。这个误差不是随机的,再多的数据取平均也无法消除。改正:先把每个抽样分布的中心与参数比较(偏差),再比较离散程度(变异)。

Check your understanding自我检测
Name the statistic and the parameter in the point estimate: "Of 400 randomly chosen adults, 188 own a bike, so we estimate 47% own one."指出点估计中的统计量与参数:“随机抽取 400 名成年人,188 人有自行车,所以估计 47% 的人有自行车。”

The statistic is $\hat{p}=188/400=0.47$; the parameter is $p$, the proportion of all adults in the population who own a bike.

统计量是 $\hat{p}=188/400=0.47$;参数是 $p$,即总体中全部成年人里有自行车者的比例。

In a dotplot of a statistic from many samples, the dots are tightly clustered but all well above the true parameter. Describe the bias and the variability.在许多样本所得统计量的点图中,点紧密聚集,但全都远高于真实参数。描述其偏差与变异。

High bias (the centre is above the parameter, so the statistic overestimates) and low variability (the dots are close together).

偏差大(中心高于参数,统计量偏高)而变异小(点彼此靠近)。

A sample mean of 20 values has standard deviation 3 for its sampling distribution. Roughly what happens to this standard deviation if the sample size is raised to 80, and does the bias change?20 个值的样本均值,其抽样分布的标准差为 3。若样本量提高到 80,这个标准差大约怎样变化?偏差会改变吗?

Four times the sample size halves it, to about $3/\sqrt{4}=1.5$. The bias does not change: it was already zero for a random sample, and it would stay nonzero for a biased method.

样本量增为 4 倍使它减半,约为 $3/\sqrt{4}=1.5$。偏差不变:随机样本的偏差本来就是 0,而有偏的方法即使加大样本偏差也依旧存在。

Bias, unbiased estimators and variability偏差、无偏估计量与变异

Learning objectives学习目标
  • Define an unbiased estimator and give examples.
  • Distinguish bias from variability and explain how sample size affects each.
  • Verify unbiasedness by listing a small sampling distribution.
  • Explain why a larger sample does not fix a biased sampling method.
  • 定义无偏估计量并举例。
  • 区分偏差与变异,并说明样本量对二者的影响。
  • 通过列出一个小型抽样分布来验证无偏性。
  • 说明为什么更大的样本不能纠正有偏的抽样方法。

A statistic used to estimate a parameter is an estimator. It is unbiased if the mean of its sampling distribution equals the parameter it estimates. Variability describes the spread of the sampling distribution. A good estimator has little bias and little variability (Figure 8).

用来估计参数的统计量称为估计量。若它的抽样分布的均值等于所估计的参数,则称其无偏。变异描述抽样分布的离散程度。好的估计量偏差小且变异小(图 8)。

Must know

The sample proportion $\hat p$ is an unbiased estimator of $p$, and the sample mean $\bar x$ is an unbiased estimator of $\mu$, when samples are random. The sample variance $s^2$ (dividing by $n-1$) is unbiased for $\sigma^2$, although $s$ is slightly biased low for $\sigma$. A larger random sample reduces variability but is not what removes bias; bias comes from the sampling method or the estimator itself.

必备知识

在随机抽样下,样本比例 $\hat p$ 是 $p$ 的无偏估计量,样本均值 $\bar x$ 是 $\mu$ 的无偏估计量。样本方差 $s^2$(除以 $n-1$)是 $\sigma^2$ 的无偏估计量,但 $s$ 对 $\sigma$ 略有偏低。更大的随机样本可降低变异,但消除不了偏差;偏差来自抽样方法或估计量本身。

true parameter真实参数 A: unbiased,A:无偏, high variability变异大 B: biased,B:有偏, low variability变异小 Values of the statistic over many samples多次抽样所得统计量的取值
Figure 8. Estimator A is unbiased: its sampling distribution is centered on the true parameter (dashed line), though it is spread out. Estimator B is precise but biased: it is centered away from the truth, so more data does not repair it.图 8. 估计量 A 无偏:其抽样分布以真实参数(虚线)为中心,但较分散。估计量 B 精确但有偏:中心偏离真值,增加数据也无法修复。

Worked examples例题

Worked Example 4.13a: Listing a sampling distribution by hand

A tiny population has the three values $2,\,4,\,6$ (so $\mu=4$ and population variance $\sigma^2=8/3$). Take every possible sample of size $2$ with replacement ($9$ equally likely samples). Show that $\bar x$ is unbiased, and show that the sample maximum is a biased estimator of the population maximum $6$.

  1. Sample means for $(2,2),(2,4),(2,6),(4,2),(4,4),(4,6),(6,2),(6,4),(6,6)$ are $2,3,4,3,4,5,4,5,6$.
  2. $\mu_{\bar x}=(2+3+4+3+4+5+4+5+6)/9=36/9=4=\mu$. So $\bar x$ is unbiased. Also $\sigma_{\bar x}^2=\frac{4+1+0+1+0+1+0+1+4}{9}=\frac{12}{9}=\frac43=\frac{\sigma^2}{n}=\frac{8/3}{2}$.
  3. Sample maxima are $2,4,6,4,4,6,6,6,6$, with mean $44/9\approx4.89$. This is below the true maximum $6$, so the sample maximum is biased low (it can never exceed the population maximum and is usually below it).
  4. Check on variance: sample variances $s^2=(a-b)^2/2$ are $0,2,8,2,0,2,8,2,0$ with mean $24/9=8/3=\sigma^2$, so dividing by $n-1$ is unbiased. Dividing by $n$ would give mean $4/3$, which is biased low.
例题 4.13a:手工列出抽样分布

一个很小的总体含三个值 $2,\,4,\,6$(所以 $\mu=4$,总体方差 $\sigma^2=8/3$)。取所有可能的大小为 $2$ 的有放回样本(共 $9$ 个等可能样本)。证明 $\bar x$ 无偏,并证明样本最大值是总体最大值 $6$ 的有偏估计量。

  1. $(2,2),(2,4),(2,6),(4,2),(4,4),(4,6),(6,2),(6,4),(6,6)$ 的样本均值为 $2,3,4,3,4,5,4,5,6$。
  2. $\mu_{\bar x}=(2+3+4+3+4+5+4+5+6)/9=36/9=4=\mu$。所以 $\bar x$ 无偏。又 $\sigma_{\bar x}^2=\frac{4+1+0+1+0+1+0+1+4}{9}=\frac{12}{9}=\frac43=\frac{\sigma^2}{n}=\frac{8/3}{2}$。
  3. 样本最大值为 $2,4,6,4,4,6,6,6,6$,均值 $44/9\approx4.89$。低于真实最大值 $6$,所以样本最大值是偏低的有偏估计(它不可能超过总体最大值,且通常低于它)。
  4. 方差验证:样本方差 $s^2=(a-b)^2/2$ 取值 $0,2,8,2,0,2,8,2,0$,均值 $24/9=8/3=\sigma^2$,所以除以 $n-1$ 是无偏的。若除以 $n$,均值为 $4/3$,偏低。
Worked Example 4.13b: A big sample with a biased method

A school wants the proportion $p$ of students who support a later start time. An online poll that anyone may answer gets $n=1500$ responses with $\hat p=0.72$. A later random check of the whole school shows the true proportion is $p=0.60$. Compare the variability of the poll with the size of its error.

  1. If the sample had been random, $\sigma_{\hat p}=\sqrt{0.6(0.4)/1500}=\sqrt{0.00016}\approx0.0126$.
  2. The error $0.72-0.60=0.12$ is about $0.12/0.0126\approx9.5$ standard deviations, far too large for chance variation.
  3. So the discrepancy is bias from the voluntary-response method (people with strong opinions respond), not sampling variability.
  4. Increasing $n$ would shrink $\sigma_{\hat p}$ further but would not move the center of the biased sampling distribution toward $0.60$. Only a better sampling method (random selection) removes the bias.
例题 4.13b:方法有偏的大样本

某校想了解支持推迟开始上学的时间的学生比例 $p$。一项任何人都可参与的在线投票收到 $n=1500$ 份回答,$\hat p=0.72$。之后对全校的随机核查显示真实比例为 $p=0.60$。比较该投票的变异与其误差的大小。

  1. 若样本是随机的,$\sigma_{\hat p}=\sqrt{0.6(0.4)/1500}=\sqrt{0.00016}\approx0.0126$。
  2. 误差 $0.72-0.60=0.12$ 约为 $0.12/0.0126\approx9.5$ 个标准差,对随机波动而言大得不可能。
  3. 所以这一差异是自愿回答方法造成的偏差(观点强烈的人更愿意回答),而不是抽样变异。
  4. 增大 $n$ 只会进一步缩小 $\sigma_{\hat p}$,却不会把有偏抽样分布的中心移向 $0.60$。只有更好的抽样方法(随机抽取)才能消除偏差。
Worked Example 4.13c: Computing the bias caused by nonresponse

A district surveys randomly chosen families about a later school start. In the population, $p=0.60$ of families support it. Supporters answer with probability $0.8$ and non-supporters with probability $0.5$. Among the $n=1000$ families who answer, find the proportion that supports, the bias, and the effect of a larger $n$.

  1. Share of all families who answer and support: $0.60(0.8)=0.48$. Share who answer and do not support: $0.40(0.5)=0.20$.
  2. Among those who answer, the long-run proportion supporting is $\dfrac{0.48}{0.48+0.20}\approx0.706$. So the mean of the sampling distribution of $\hat p$ is about $0.706$, not $0.60$: the bias is about $+0.106$ (it overestimates).
  3. Variability for $n=1000$: $\sqrt{0.706(0.294)/1000}\approx0.0144$, so the bias is about $0.106/0.0144\approx7.3$ standard deviations.
  4. With $n=4000$ the SD falls to about $0.0072$, but the sampling distribution is still centered at $0.706$. A larger $n$ makes the wrong answer more precise, and only a method that reaches the non-supporters (a follow-up of nonrespondents) removes the bias.
例题 4.13c:计算无应答造成的偏差

某学区向随机抽取的家庭调查是否支持推迟上学时间。总体中 $p=0.60$ 的家庭支持。支持者回答的概率为 $0.8$,不支持者回答的概率为 $0.5$。在回答的 $n=1000$ 个家庭中,求支持的比例、偏差,以及增大 $n$ 的影响。

  1. 回答且支持的家庭占全部家庭的比例:$0.60(0.8)=0.48$。回答且不支持的比例:$0.40(0.5)=0.20$。
  2. 在回答的家庭中,支持者的长期比例为 $\dfrac{0.48}{0.48+0.20}\approx0.706$。所以 $\hat p$ 的抽样分布均值约为 $0.706$,而不是 $0.60$:偏差约为 $+0.106$(高估)。
  3. $n=1000$ 时的变异:$\sqrt{0.706(0.294)/1000}\approx0.0144$,所以偏差约为 $0.106/0.0144\approx7.3$ 个标准差。
  4. $n=4000$ 时标准差降到约 $0.0072$,但抽样分布仍以 $0.706$ 为中心。更大的 $n$ 只是让错误的答案更精确;只有能接触到不支持者的方法(对未回答者跟进调查)才能消除偏差。
Common Mistake: expecting a larger sample to fix bias

Believing that a larger sample automatically corrects bias, or that an unbiased estimator is always close to the parameter in any single sample. Unbiased describes the center of the sampling distribution; one sample can still land far away if the variability is large.

常见错误:指望更大的样本纠正偏差

认为更大的样本会自动纠正偏差,或认为无偏估计量在任何单个样本中都接近参数。无偏描述的是抽样分布的中心;若变异较大,单个样本仍可能离得很远。

AP exam tipAP 考试提示

To judge an estimator, comment on both parts: center (is the sampling distribution centered at the parameter, so unbiased?) and spread (is $n$ large enough to give small variability?). Name the source of bias, such as voluntary response, if there is one.

评价估计量时两方面都要谈:中心(抽样分布是否以参数为中心,即是否无偏?)与离散程度($n$ 是否足够大使变异较小?)。若存在偏差,要指出来源,如自愿回答。

Check your understanding自我检测
Define an unbiased estimator.定义无偏估计量。

A statistic whose sampling distribution has a mean equal to the parameter it estimates: on average over all possible samples it neither overestimates nor underestimates.

其抽样分布的均值等于所估计参数的统计量:在所有可能样本上平均,它既不高估也不低估。

True or false: increasing the sample size from $100$ to $1000$ reduces the bias of a voluntary-response poll. Explain.判断对错:把样本量从 $100$ 增至 $1000$ 可降低自愿回答投票的偏差。说明理由。

False. A larger sample reduces variability, but the voluntary-response method still systematically favors some people, so the center remains off target.

错误。更大的样本降低变异,但自愿回答方法仍系统性地偏向某些人,中心依然偏离目标。

Is the sample variance $s^2$ (divisor $n-1$) an unbiased estimator of $\sigma^2$? Is $s$ unbiased for $\sigma$?样本方差 $s^2$(除数 $n-1$)是 $\sigma^2$ 的无偏估计量吗?$s$ 是 $\sigma$ 的无偏估计量吗?

$s^2$ is unbiased for $\sigma^2$. $s$ is slightly biased low for $\sigma$, a small effect that shrinks as $n$ grows.

$s^2$ 是 $\sigma^2$ 的无偏估计量。$s$ 对 $\sigma$ 略有偏低,这一影响很小,且随 $n$ 增大而减小。

Sampling Distribution for a Sample Proportion样本比例的抽样分布

Learning objectives学习目标
  • State the mean and standard deviation of the sampling distribution of a sample proportion $\hat{p}$.
  • Check the conditions (random, 10% condition, Large Counts) before using a Normal model for $\hat{p}$.
  • Calculate a probability about $\hat{p}$ with a Normal model and normalcdf.
  • Write the conclusion in context, naming the population and the statistic.
  • Explain how the spread of the sampling distribution of $\hat{p}$ changes with $n$ and with $p$.
  • 写出样本比例 $\hat{p}$ 的抽样分布的均值与标准差。
  • 在对 $\hat{p}$ 使用正态模型之前检验条件(随机、10% 条件、大计数条件)。
  • 用正态模型与 normalcdf 计算关于 $\hat{p}$ 的概率。
  • 结合情境写出结论,点明总体与统计量。
  • 解释 $\hat{p}$ 的抽样分布的离散程度如何随 $n$ 与 $p$ 变化。

For a random sample of size $n$ from a population with proportion $p$, the sampling distribution of the sample proportion $\hat{p}$ has centre $\mu_{\hat{p}}=p$ (the mean of $\hat{p}$ equals $p$, so $\hat{p}$ is unbiased) and standard deviation $\sigma_{\hat{p}}=\sqrt{\dfrac{p(1-p)}{n}}$. The spread is smaller for larger $n$ (Figure 5.5), and for $p$ nearer 0 or 1.

对容量为 $n$、来自比例为 $p$ 的总体的随机样本,样本比例 $\hat{p}$ 的抽样分布的中心为 $\mu_{\hat{p}}=p$($\hat{p}$ 的均值等于 $p$,所以 $\hat{p}$ 无偏),标准差为 $\sigma_{\hat{p}}=\sqrt{\dfrac{p(1-p)}{n}}$。$n$ 越大离散程度越小(图 5.5),$p$ 越接近 0 或 1 离散程度也越小。

0.40.50.60.70.8n = 50: SD 0.069n = 50:标准差 0.069n = 200: SD 0.035n = 200:标准差 0.035Sample proportion p-hat (p = 0.60)样本比例 p-hat(p = 0.60)
Figure 5.5. Both sampling distributions of the sample proportion are centred at p = 0.60. Quadrupling n from 50 to 200 halves the standard deviation (0.069 to 0.035).图 5.5。两个样本比例的抽样分布都以 p = 0.60 为中心。样本量从 50 增至 200(4 倍),标准差减半(0.069 变为 0.035)。

The Normal model for $\hat{p}$ needs three conditions. Random: the data come from a random sample (or a randomized experiment). 10% condition: when sampling without replacement, $n\le 0.10N$, so that individual selections are close to independent and the formula for $\sigma_{\hat{p}}$ holds. Large Counts: $np \ge 10$ and $n(1-p) \ge 10$, which say that the expected numbers of successes and failures are both at least 10, so the distribution is not skewed against the 0 or 1 boundary. Check these with the population value $p$ when it is known.

对 $\hat{p}$ 使用正态模型需要三个条件。随机:数据来自随机样本(或随机化实验)。10% 条件:无放回抽样时 $n\le 0.10N$,这样各次选取近似独立,$\sigma_{\hat{p}}$ 的公式才成立。大计数条件(Large Counts):$np \ge 10$ 且 $n(1-p) \ge 10$,即成功与失败的期望个数都至少为 10,分布才不会被 0 或 1 的边界挤得偏斜。已知总体比例 $p$ 时,用总体的值来检验这些条件。

Worked Example 5.9: probability for a sample proportion例题 5.9:样本比例的概率

Suppose 35% of the 4,000 students at a school own a particular device (illustrative). A random sample of $n=150$ students is asked. Find the probability that the sample proportion who own one is greater than 0.40, and say whether that would be unusual.

  1. Conditions: random sample; 10% condition $150\le 0.10(4000)=400$; Large Counts $np=150(0.35)=52.5\ge10$ and $n(1-p)=150(0.65)=97.5\ge10$. So $\hat{p}$ is approximately Normal.
  2. Centre and spread: $\mu_{\hat{p}}=0.35$; $\sigma_{\hat{p}}=\sqrt{\dfrac{0.35(0.65)}{150}}=0.0389$.
  3. Probability: $z=\dfrac{0.40-0.35}{0.0389}\approx1.28$. normalcdf(0.40, 1E99, 0.35, 0.0389) $=0.0993$ with the rounded SD (the unrounded SD gives 0.0996).
  4. In context: the probability that more than 40% of 150 randomly chosen students at this school own the device is about 0.099, or about 10%. That is not unusual: it would happen about 1 time in 10 by chance alone.
  5. Why this works: once the conditions are checked, $\hat{p}$ behaves like a Normal variable with the stated centre and spread.

设某校 4,000 名学生中 35% 拥有某种设备(示意数据)。随机抽取 $n=150$ 名学生询问。求样本中拥有该设备的比例大于 0.40 的概率,并说明这是否算异常。

  1. 条件:随机样本;10% 条件 $150\le 0.10(4000)=400$;大计数条件 $np=150(0.35)=52.5\ge10$,$n(1-p)=150(0.65)=97.5\ge10$。所以 $\hat{p}$ 近似正态。
  2. 中心与离散:$\mu_{\hat{p}}=0.35$;$\sigma_{\hat{p}}=\sqrt{\dfrac{0.35(0.65)}{150}}=0.0389$。
  3. 概率:$z=\dfrac{0.40-0.35}{0.0389}\approx1.28$。normalcdf(0.40, 1E99, 0.35, 0.0389) $=0.0993$,这里使用的是四舍五入后的标准差(不四舍五入时为 0.0996)。
  4. 结合情境:在该校随机抽取 150 名学生,其中拥有该设备者超过 40% 的概率约为 0.099,即约 10%。这并不异常:仅凭机会,大约每 10 次就会出现 1 次。
  5. 原理:检验好条件后,$\hat{p}$ 的表现就像具有上述中心与离散程度的正态变量。
Worked Example 5.10: when the Large Counts condition fails例题 5.10:大计数条件不满足时

At a company of 1,200 employees, 92% have completed a safety course (illustrative). A random sample of $n=60$ employees is taken. Can a Normal model be used to find the probability that fewer than 85% of the sample completed it?

  1. Random: given. 10% condition: $60\le 0.10(1200)=120$, satisfied.
  2. Large Counts: $np=60(0.92)=55.2\ge10$ is fine, but $n(1-p)=60(0.08)=4.8<10$ fails. The sampling distribution of $\hat{p}$ is skewed to the left because it is squeezed against the upper limit 1, so the Normal model is not appropriate.
  3. What to do: state that the condition fails and use a binomial model for the count instead: $P(\hat{p}<0.85)=P(X\le50)=$ binomcdf(60, 0.92, 50) $=0.0200$. (A Normal calculation would give about 0.0228, close but not justified here.)
  4. Why this works: the Large Counts condition protects against skew near the boundaries; with fewer than 10 expected failures the Normal curve cannot match the shape.

某公司有 1,200 名员工,92% 已完成安全培训(示意数据)。随机抽取 $n=60$ 名员工。能否用正态模型求样本中完成培训的比例低于 85% 的概率?

  1. 随机:已给出。10% 条件:$60\le 0.10(1200)=120$,满足。
  2. 大计数条件:$np=60(0.92)=55.2\ge10$ 没问题,但 $n(1-p)=60(0.08)=4.8<10$ 不满足。$\hat{p}$ 的抽样分布被上限 1 挤压而左偏,所以不宜使用正态模型。
  3. 怎么办:说明条件不满足,改用二项模型处理计数:$P(\hat{p}<0.85)=P(X\le50)=$ binomcdf(60, 0.92, 50) $=0.0200$。(用正态计算约得 0.0228,数值接近,但在这里没有依据。)
  4. 原理:大计数条件防止边界附近的偏斜;期望的失败数少于 10 时,正态曲线无法拟合其形状。
Worked Example 5.10b: how large a sample for a given margin例题 5.10b:为达到给定误差范围需要多大的样本

A pollster plans a random sample of voters from a city with 2 million voters, using the planning value $p=0.50$. (a) With $n=400$, find the probability that $\hat{p}$ is within 0.03 of $p$. (b) Find the smallest $n$ for which this probability is about 95%.

  1. Conditions: random sample; $n$ is far below 10% of 2 million; Large Counts holds easily, since $np=n(1-p)=0.5n\ge10$ for every $n$ used here.
  2. (a) $\sigma_{\hat{p}}=\sqrt{\dfrac{0.50(0.50)}{400}}=0.025$, so normalcdf(0.47, 0.53, 0.50, 0.025) $\approx0.770$, which corresponds to $z=\pm1.2$.
  3. (b) The middle 95% of a Normal model lies within $1.96$ standard deviations of the centre, so we need $1.96\sqrt{\dfrac{0.50(0.50)}{n}}\le0.03$. Then $\sqrt{n}\ge\dfrac{1.96(0.50)}{0.03}\approx32.67$ and $n\ge1067.1$, so round up to $n=1068$.
  4. Check: for $n=1068$, $\sigma_{\hat{p}}=\sqrt{0.25/1068}\approx0.0153$ and normalcdf(0.47, 0.53, 0.50, 0.0153) $\approx0.950$.
  5. Conclusion: about 77% of random samples of 400 voters give a sample proportion within 0.03 of the true proportion, and about 95% of random samples of 1,068 voters do.
  6. Why this works: a requirement on $\hat{p}$ becomes a requirement on $\sigma_{\hat{p}}$, and $n$ appears only under the square root, so tightening the margin costs a lot of sample size. Always round $n$ up.

某民调机构计划从有 200 万选民的城市随机抽取选民,规划值取 $p=0.50$。(a) 当 $n=400$ 时,求 $\hat{p}$ 与 $p$ 相差不超过 0.03 的概率。(b) 求使这个概率约为 95% 的最小 $n$。

  1. 条件:随机样本;$n$ 远小于 200 万的 10%;大计数条件很容易满足,因为这里所用的 $n$ 都有 $np=n(1-p)=0.5n\ge10$。
  2. (a) $\sigma_{\hat{p}}=\sqrt{\dfrac{0.50(0.50)}{400}}=0.025$,所以 normalcdf(0.47, 0.53, 0.50, 0.025) $\approx0.770$,对应 $z=\pm1.2$。
  3. (b) 正态模型中间 95% 的部分落在中心两侧 $1.96$ 个标准差之内,所以需要 $1.96\sqrt{\dfrac{0.50(0.50)}{n}}\le0.03$。于是 $\sqrt{n}\ge\dfrac{1.96(0.50)}{0.03}\approx32.67$,$n\ge1067.1$,向上取整得 $n=1068$。
  4. 检验:当 $n=1068$ 时,$\sigma_{\hat{p}}=\sqrt{0.25/1068}\approx0.0153$,normalcdf(0.47, 0.53, 0.50, 0.0153) $\approx0.950$。
  5. 结论:随机抽取 400 名选民时,约 77% 的样本其样本比例与真实比例相差不超过 0.03;随机抽取 1,068 名选民时,约 95% 的样本做到这一点。
  6. 原理:对 $\hat{p}$ 的要求变成了对 $\sigma_{\hat{p}}$ 的要求,而 $n$ 只出现在平方根里,所以缩小误差范围需要大幅增加样本量。$n$ 一律向上取整。
Exam tip考试提示

A convincing answer checks the conditions with numbers instead of saying "conditions are met". Write $np=52.5\ge10$ and $n(1-p)=97.5\ge10$ with the values, and the 10% check as $n\le 0.10N$ with $N$ named. Then end with a sentence that mentions the population and the proportion in words ("the probability that more than 40% of the sampled students own the device").

有说服力的答案会用数字检验条件,而不是写“条件满足”。要写出 $np=52.5\ge10$ 与 $n(1-p)=97.5\ge10$ 的具体数值,10% 检验写成 $n\le 0.10N$ 并说明 $N$。最后用一句话点明总体和比例(“被抽中的学生中超过 40% 拥有该设备的概率”)。

Common mistakes
  • Using the sample proportion $\hat{p}$ instead of $p$ in $\sqrt{p(1-p)/n}$ when $p$ is given. In a sampling-distribution problem about a known $p$, use $p$.
  • Checking only that $n\ge30$. For proportions the sample-size check is Large Counts.
  • Forgetting the 10% condition when the sample is large relative to a small population.
常见错误
  • 用样本比例 $\hat{p}$ 代替 $p$ 放进 $\sqrt{p(1-p)/n}$,而 $p$ 其实是已给出的。关于已知 $p$ 的抽样分布问题要用 $p$。
  • 只检验 $n\ge30$。对比例而言,检验样本量用的是大计数条件。
  • 样本相对小总体较大时,忘记 10% 条件。
Common Mistake: mixing a count with a proportion

Worked Example 5.9 asks about more than 40% of 150 students, which is more than 60 students. A student types normalcdf(60, 1E99, 0.35, 0.0389). That pairs a count (60) with the mean and SD of a proportion, and returns essentially 0. The reverse, normalcdf(0.40, 1E99, 52.5, 5.84), pairs a proportion with the mean and SD of a count and returns essentially 1. Fix: keep everything on one scale. Either use $\hat{p}$ with N(0.35, 0.0389) and the value 0.40, or use the count with mean $np=52.5$, SD $\sqrt{np(1-p)}\approx5.84$ and the value 60. Both give $z\approx1.28$.

常见错误:把计数与比例混在一起

例题 5.9 问的是 150 名学生中超过 40% 的情况,也就是超过 60 名学生。有人输入 normalcdf(60, 1E99, 0.35, 0.0389)。这是把计数(60)与比例的均值和标准差配在一起,结果基本为 0。反过来,normalcdf(0.40, 1E99, 52.5, 5.84) 是把比例与计数的均值和标准差配在一起,结果基本为 1。改正:所有量放在同一个尺度上。要么用 $\hat{p}$,取 N(0.35, 0.0389) 和数值 0.40;要么用计数,取均值 $np=52.5$、标准差 $\sqrt{np(1-p)}\approx5.84$ 和数值 60。两种做法都得到 $z\approx1.28$。

Check your understanding自我检测
Give $\mu_{\hat{p}}$ and $\sigma_{\hat{p}}$ for $p=0.20$ and $n=100$.求 $\mu_{\hat{p}}$ 与 $\sigma_{\hat{p}}$,其中 $p=0.20$、$n=100$。

$\mu_{\hat{p}}=0.20$ and $\sigma_{\hat{p}}=\sqrt{\dfrac{0.20(0.80)}{100}}=0.04$.

$\mu_{\hat{p}}=0.20$,$\sigma_{\hat{p}}=\sqrt{\dfrac{0.20(0.80)}{100}}=0.04$。

A random sample of $n=40$ has $p=0.05$. Why can a Normal model not be used?随机样本 $n=40$,$p=0.05$。为什么不能用正态模型?

Large Counts fails: $np=40(0.05)=2<10$ (and $n(1-p)=38\ge10$ is fine). The sampling distribution of $\hat{p}$ is skewed right.

大计数条件不满足:$np=40(0.05)=2<10$($n(1-p)=38\ge10$ 则没问题)。$\hat{p}$ 的抽样分布右偏。

In a large county 62% of voters favour a measure. For a random sample of 200 voters find the probability that $\hat{p}$ is below 0.58, with a conclusion in context.某大县 62% 的选民支持一项议案。对 200 名随机抽取的选民,求 $\hat{p}$ 低于 0.58 的概率,并结合情境写结论。

Conditions: random; the county is large (10% condition holds); $np=124\ge10$, $n(1-p)=76\ge10$. $\sigma_{\hat{p}}=\sqrt{\dfrac{0.62(0.38)}{200}}=0.0343$; normalcdf(-1E99, 0.58, 0.62, 0.0343) $=0.1218$ with the rounded SD (0.1219 unrounded). In context: the probability that fewer than 58% of 200 randomly sampled voters favour the measure is about 0.12.

条件:随机;该县很大(10% 条件成立);$np=124\ge10$,$n(1-p)=76\ge10$。$\sigma_{\hat{p}}=\sqrt{\dfrac{0.62(0.38)}{200}}=0.0343$;normalcdf(-1E99, 0.58, 0.62, 0.0343) $=0.1218$,使用的是四舍五入后的标准差(不四舍五入时为 0.1219)。结合情境:200 名随机抽取的选民中支持该议案者低于 58% 的概率约为 0.12。

Sampling Distribution for a Difference in Sample Proportions样本比例之差的抽样分布

Learning objectives学习目标
  • State the mean and standard deviation of the sampling distribution of $\hat{p}_1-\hat{p}_2$.
  • Check the conditions for two independent samples: random, independent, 10% condition, Large Counts for each sample.
  • Calculate a probability for a difference of sample proportions using a Normal model.
  • Interpret the result in context, naming both populations and the direction of the difference.
  • Explain why the variances (not the standard deviations) add for independent samples.
  • 写出 $\hat{p}_1-\hat{p}_2$ 的抽样分布的均值与标准差。
  • 检验两个独立样本的条件:随机、独立、10% 条件、每个样本的大计数条件。
  • 用正态模型计算样本比例之差的概率。
  • 结合情境解释结果,点明两个总体与差的方向。
  • 解释为什么对独立样本,相加的是方差而不是标准差。

Take independent random samples of sizes $n_1$ and $n_2$ from two populations with proportions $p_1$ and $p_2$. The difference in sample proportions $\hat{p}_1-\hat{p}_2$ has a sampling distribution with mean $\mu_{\hat{p}_1-\hat{p}_2}=p_1-p_2$ and standard deviation $\sigma_{\hat{p}_1-\hat{p}_2}=\sqrt{\dfrac{p_1(1-p_1)}{n_1}+\dfrac{p_2(1-p_2)}{n_2}}$. Because the samples are independent, the variances of $\hat{p}_1$ and $\hat{p}_2$ add; the standard deviations do not. The variability of a difference is larger than that of either proportion alone, even though the centre is subtracted.

独立地随机抽取容量为 $n_1$ 与 $n_2$ 的样本,它们分别来自比例为 $p_1$ 与 $p_2$ 的两个总体。样本比例之差(difference in sample proportions)$\hat{p}_1-\hat{p}_2$ 的抽样分布,均值为 $\mu_{\hat{p}_1-\hat{p}_2}=p_1-p_2$,标准差为 $\sigma_{\hat{p}_1-\hat{p}_2}=\sqrt{\dfrac{p_1(1-p_1)}{n_1}+\dfrac{p_2(1-p_2)}{n_2}}$。因为样本相互独立,$\hat{p}_1$ 与 $\hat{p}_2$ 的方差相加,标准差不能相加。尽管中心是相减得到的,差的变异却比任何单个比例的变异都大。

Conditions: both samples are random; the two samples are independent of each other (not matched or paired); the 10% condition holds in each population ($n_1\le0.10N_1$ and $n_2\le0.10N_2$); and Large Counts holds for each sample, meaning $n_1p_1$, $n_1(1-p_1)$, $n_2p_2$ and $n_2(1-p_2)$ are all at least 10. If each condition holds, the difference is approximately Normal.

条件:两个样本都是随机的;两个样本彼此独立(不是配对或匹配的);每个总体都满足10% 条件($n_1\le0.10N_1$ 且 $n_2\le0.10N_2$);并且每个样本都满足大计数条件(each sample),即 $n_1p_1$、$n_1(1-p_1)$、$n_2p_2$、$n_2(1-p_2)$ 都至少为 10。各条件都成立时,差近似正态。

-0.10.00.10.20.3Area 0.0504面积 0.0504centre 0.10, SD 0.061中心 0.10,标准差 0.061Difference in sample proportions (A minus B)样本比例之差(A 减 B)
Figure 5.6. The difference of sample proportions is centred at p1 - p2 = 0.10. The shaded area is the probability that sample B comes out ahead even though population A is higher.图 5.6。样本比例之差以 p1 - p2 = 0.10 为中心。涂色面积是样本 B 反而领先的概率,尽管总体 A 的比例更高。
Worked Example 5.11: a poll can reverse the order of two populations例题 5.11:民调结果可能颠倒两个总体的大小顺序

At School A, 55% of students prefer a later start time; at School B, 45% do (illustrative; each school has several thousand students). Independent random samples of $n_1=120$ from A and $n_2=150$ from B are taken. Find the probability that the sample proportion at A is less than the sample proportion at B.

  1. Conditions: random and independent samples (Figure 5.6 shows the Normal curve); 10% condition holds because each school has several thousand students (more than 10 times 120 and 150); Large Counts: $n_1p_1=66$, $n_1(1-p_1)=54$, $n_2p_2=67.5$, $n_2(1-p_2)=82.5$, all at least 10.
  2. Centre and spread: $\mu=p_1-p_2=0.55-0.45=0.10$. $\sigma=\sqrt{\dfrac{0.55(0.45)}{120}+\dfrac{0.45(0.55)}{150}}=0.0609$.
  3. Probability: we want $P(\hat{p}_1-\hat{p}_2<0)$. $z=\dfrac{0-0.10}{0.0609}\approx-1.64$. normalcdf(-1E99, 0, 0.10, 0.0609) $=0.0503$ with the rounded SD (the unrounded SD gives 0.0504).
  4. In context: there is about a 5% chance that the sampled proportion of students preferring a later start would be smaller at School A than at School B, even though the proportion is higher at School A in the population.
  5. Why this works: a difference of 0 is 1.64 standard deviations below the centre 0.10, so a reversal can happen but is uncommon.

A 校 55% 的学生希望晚一点上课,B 校为 45%(示意数据;每所学校有数千名学生)。从 A 校与 B 校分别独立随机抽取 $n_1=120$ 与 $n_2=150$ 名学生。求 A 校样本比例小于 B 校样本比例的概率。

  1. 条件:随机且独立的样本(图 5.6 显示该正态曲线);每所学校有数千名学生(多于 120 与 150 的 10 倍),10% 条件成立;大计数条件:$n_1p_1=66$,$n_1(1-p_1)=54$,$n_2p_2=67.5$,$n_2(1-p_2)=82.5$,均至少为 10。
  2. 中心与离散:$\mu=p_1-p_2=0.55-0.45=0.10$。$\sigma=\sqrt{\dfrac{0.55(0.45)}{120}+\dfrac{0.45(0.55)}{150}}=0.0609$。
  3. 概率:求 $P(\hat{p}_1-\hat{p}_2<0)$。$z=\dfrac{0-0.10}{0.0609}\approx-1.64$。normalcdf(-1E99, 0, 0.10, 0.0609) $=0.0503$,这里使用的是四舍五入后的标准差(不四舍五入时为 0.0504)。
  4. 结合情境:尽管总体中 A 校希望晚上课的比例更高,样本中 A 校的比例仍有约 5% 的机会小于 B 校。
  5. 原理:差 0 比中心 0.10 低 1.64 个标准差,所以反转可能发生,但不常见。
Worked Example 5.12: a difference of at least a given size例题 5.12:差至少达到给定大小的概率

In a (hypothetical) trial setting, 70% of patients on treatment recover and 55% on placebo recover (illustrative). Independent random groups of $n_1=80$ and $n_2=90$ patients are drawn from very large populations. Find the probability that the difference in sample recovery proportions (treatment minus placebo) is at least 0.20.

  1. Conditions: independent random samples from very large populations (10% holds). Large Counts: $80(0.70)=56$, $80(0.30)=24$, $90(0.55)=49.5$, $90(0.45)=40.5$, all at least 10.
  2. Centre and spread: mean $=0.70-0.55=0.15$. $\sigma=\sqrt{\dfrac{0.70(0.30)}{80}+\dfrac{0.55(0.45)}{90}}=0.0733$.
  3. Probability: $z=\dfrac{0.20-0.15}{0.0733}\approx0.68$. normalcdf(0.20, 1E99, 0.15, 0.0733) $=0.2476$.
  4. In context: about a 25% chance that the treatment group shows a recovery proportion at least 0.20 higher than the placebo group in such samples. That is not unusual.

在一个(假设的)试验情境中,用药患者的康复率为 70%,安慰剂患者为 55%(示意数据)。从很大的总体中独立随机抽取 $n_1=80$ 与 $n_2=90$ 名患者的两组。求康复比例之差(用药减安慰剂)至少为 0.20 的概率。

  1. 条件:来自很大总体的独立随机样本(10% 条件成立)。大计数条件:$80(0.70)=56$,$80(0.30)=24$,$90(0.55)=49.5$,$90(0.45)=40.5$,均至少为 10。
  2. 中心与离散:均值 $=0.70-0.55=0.15$。$\sigma=\sqrt{\dfrac{0.70(0.30)}{80}+\dfrac{0.55(0.45)}{90}}=0.0733$。
  3. 概率:$z=\dfrac{0.20-0.15}{0.0733}\approx0.68$。normalcdf(0.20, 1E99, 0.15, 0.0733) $=0.2476$。
  4. 结合情境:在这样的样本中,用药组的康复比例比安慰剂组至少高 0.20 的概率约为 25%。这并不异常。
Worked Example 5.12b: two samples from identical populations例题 5.12b:来自相同总体的两个样本

Two gyms each have thousands of members, and in both exactly 50% would renew their membership (illustrative). Independent random samples of $n_1=100$ members from Gym A and $n_2=100$ from Gym B are asked. Find the probability that the two sample proportions differ by at least 0.15 in either direction, and say what the answer tells you.

  1. Conditions: independent random samples; each gym has thousands of members (10% holds); Large Counts: $100(0.50)=50$ and $100(0.50)=50$ for both samples, all at least 10.
  2. Centre and spread: $\mu=0.50-0.50=0$. $\sigma=\sqrt{\dfrac{0.50(0.50)}{100}+\dfrac{0.50(0.50)}{100}}=\sqrt{0.005}=0.0707$.
  3. Probability: "at least 0.15 in either direction" means $\hat{p}_1-\hat{p}_2\ge0.15$ or $\le-0.15$. $z=\dfrac{0.15}{0.0707}\approx2.12$, normalcdf(0.15, 1E99, 0, 0.0707) $\approx0.0169$ for one tail, and by symmetry the two tails total about $0.034$.
  4. Conclusion in context: a complete answer states that if the renewal proportions at the two gyms are identical, about 3.4% of pairs of random samples of 100 members would differ by 0.15 or more. A gap that large would be unusual under equal proportions, which is a reason to doubt that the two gyms have the same renewal proportion.
  5. Why this works: with equal populations the difference is centred at 0, and both directions count, so the two tail areas are added.

两家健身房各有数千名会员,两家都恰有 50% 的会员会续费(示意数据)。从 A 馆独立随机抽取 $n_1=100$ 名会员,从 B 馆独立随机抽取 $n_2=100$ 名会员询问。求两个样本比例相差至少 0.15(任一方向)的概率,并说明这个结果意味着什么。

  1. 条件:独立随机样本;每家健身房有数千名会员(10% 条件成立);大计数条件:两个样本的 $100(0.50)=50$ 与 $100(0.50)=50$ 均不小于 10。
  2. 中心与离散程度:$\mu=0.50-0.50=0$。$\sigma=\sqrt{\dfrac{0.50(0.50)}{100}+\dfrac{0.50(0.50)}{100}}=\sqrt{0.005}=0.0707$。
  3. 概率:“任一方向至少相差 0.15”是指 $\hat{p}_1-\hat{p}_2\ge0.15$ 或 $\le-0.15$。$z=\dfrac{0.15}{0.0707}\approx2.12$,单侧 normalcdf(0.15, 1E99, 0, 0.0707) $\approx0.0169$,由对称性两侧合计约 $0.034$。
  4. 结合情境的结论:完整答案要点:若两家健身房的续费比例相同,那么每 100 名会员的一对随机样本中,约 3.4% 会相差 0.15 或更多。在比例相同的前提下出现这么大的差距并不寻常,这是怀疑两家健身房续费比例相同的理由。
  5. 原理:总体相同时,差的中心在 0;两个方向都算,所以要把两侧面积相加。
Exam tip考试提示

Name the order of subtraction and keep it: "Let $\hat{p}_1-\hat{p}_2$ be the difference (treatment minus placebo)." Write the check for each sample (four Large Counts numbers) and say the samples are independent. With two samples, "the sample is random" is incomplete; name both samples.

写明减法的顺序并保持一致:“设 $\hat{p}_1-\hat{p}_2$ 为差(用药减安慰剂)。”要对每个样本写出检验(四个大计数的数值),并说明两个样本独立。有两个样本时,只写“样本是随机的”不完整,要分别点明两个样本。

Common mistakes
  • Adding the standard deviations instead of the variances under the square root.
  • Using a combined (pooled) proportion in sampling-distribution problems where $p_1$ and $p_2$ are given.
  • Treating paired or matched data as two independent samples.
常见错误
  • 在根号下相加标准差而不是方差。
  • 在 $p_1$、$p_2$ 已给出的抽样分布问题中使用合并比例。
  • 把配对或匹配的数据当作两个独立样本。
Common Mistake: flipping the tail when the order of subtraction is reversed

In Worked Example 5.11 the question is whether the sample proportion at A is smaller than at B. A student types normalcdf(0, 1E99, 0.10, 0.0609) and gets 0.9497. That is the probability that A comes out ahead, the opposite event. With $\hat{p}_1-\hat{p}_2$ (A minus B), "A smaller than B" means the difference is below 0, so the correct calculation is normalcdf(-1E99, 0, 0.10, 0.0609) $=0.0503$. Fix: write down the order of subtraction, translate the question into a statement about the difference, and sketch the curve with the shaded area before using the calculator.

常见错误:减法顺序一反,就取错了尾部

在例题 5.11 中,问题是 A 的样本比例是否小于 B 的样本比例。有人输入 normalcdf(0, 1E99, 0.10, 0.0609),得到 0.9497。这是 A 领先的概率,恰好是相反的事件。取 $\hat{p}_1-\hat{p}_2$(A 减 B),“A 小于 B”表示差小于 0,所以正确的计算是 normalcdf(-1E99, 0, 0.10, 0.0609) $=0.0503$。改正:先写下减法顺序,把问题翻译成关于差的陈述,并在用计算器之前画出曲线和阴影区域。

Check your understanding自我检测
For $p_1=0.40$, $n_1=100$ and $p_2=0.30$, $n_2=100$, find the mean and standard deviation of $\hat{p}_1-\hat{p}_2$.对 $p_1=0.40$、$n_1=100$ 与 $p_2=0.30$、$n_2=100$,求 $\hat{p}_1-\hat{p}_2$ 的均值与标准差。

Mean $=0.10$. SD $=\sqrt{\dfrac{0.40(0.60)}{100}+\dfrac{0.30(0.70)}{100}}=\sqrt{0.0045}=0.0671$.

均值 $=0.10$。标准差 $=\sqrt{\dfrac{0.40(0.60)}{100}+\dfrac{0.30(0.70)}{100}}=\sqrt{0.0045}=0.0671$。

Why is the standard deviation of a difference of proportions larger than that of each single proportion?为什么比例之差的标准差比每个单独比例的标准差都大?

Each sample contributes its own sampling variability, and for independent samples the variances add, so $\sigma_{\hat{p}_1-\hat{p}_2}^2$ exceeds each of the two separate variances.

每个样本都带来自己的抽样变异,而对独立样本方差相加,所以 $\sigma_{\hat{p}_1-\hat{p}_2}^2$ 大于两个单独的方差。

Students in the same class are surveyed before and after a program (the same 50 people twice). Can the two sample proportions be treated as independent?同一个班的学生在一个项目前后各被调查一次(同样的 50 人调查两次)。两个样本比例能当作独立吗?

No. The two samples consist of the same people, so they are paired, not independent, and the difference-of-proportions formula does not apply.

不能。两个样本由同一批人构成,是配对的而不是独立的,样本比例之差的公式不适用。

Sampling Distribution for a Sample Mean样本均值的抽样分布

Learning objectives学习目标
  • State the mean and standard deviation of the sampling distribution of the sample mean $\bar{x}$.
  • Check the conditions (random, 10% condition, Normal population or Central Limit Theorem) for a Normal model for $\bar{x}$.
  • Calculate a probability about $\bar{x}$ using a Normal model and normalcdf.
  • Contrast the distribution of individual values with the sampling distribution of $\bar{x}$.
  • Explain how the standard deviation of $\bar{x}$ changes as the sample size increases.
  • 写出样本均值 $\bar{x}$ 的抽样分布的均值与标准差。
  • 检验对 $\bar{x}$ 使用正态模型的条件(随机、10% 条件、正态总体或中心极限定理)。
  • 用正态模型与 normalcdf 计算关于 $\bar{x}$ 的概率。
  • 对比个体取值的分布与 $\bar{x}$ 的抽样分布。
  • 解释 $\bar{x}$ 的标准差如何随样本量增大而变化。

Let the population have mean $\mu$ and standard deviation $\sigma$, and take a random sample of size $n$. The sample mean $\bar{x}$ has a sampling distribution with mean $\mu_{\bar{x}}=\mu$ (the mean of the sampling distribution equals the population mean, so $\bar{x}$ is unbiased) and standard deviation $\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$. Averages vary less than individuals, and you need four times as many observations to cut the standard deviation in half (Figure 5.7).

设总体的均值为 $\mu$、标准差为 $\sigma$,抽取容量为 $n$ 的随机样本。样本均值(sample mean)$\bar{x}$ 的抽样分布,均值为 $\mu_{\bar{x}}=\mu$(抽样分布的均值等于总体均值,所以 $\bar{x}$ 无偏),标准差为 $\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$。平均值的波动比个体小,而要把标准差减半,需要 4 倍的观测数(图 5.7)。

0255075100n = 1: 8n = 4: 4n = 16: 2n = 64: 1048Sample size n样本量 nSD of x-bar = 8 / sqrt(n)x-bar 的标准差 = 8 / sqrt(n)
Figure 5.7. For sigma = 8 the standard deviation of x-bar is 8 / sqrt(n). Each fourfold increase in n halves it (8, 4, 2, 1), so precision has steeply diminishing returns.图 5.7。当 σ = 8 时,x-bar 的标准差为 8 / sqrt(n)。n 每增为 4 倍,标准差减半(8、4、2、1),所以增大样本量的收益递减得很快。

Conditions for a Normal model for $\bar{x}$. Random: a random sample (or randomized experiment). 10% condition: when sampling without replacement, $n\le 0.10N$, so the formula $\sigma/\sqrt{n}$ is valid. Normal or large: the population is Normal (then $\bar{x}$ is Normal for any $n$), or $n\ge30$ so the Central Limit Theorem applies, or the sample data show no strong skew or outliers when $n$ is small. If the population is Normal you may say "the population is Normal" only if the problem states it or the sample plot supports it.

对 $\bar{x}$ 使用正态模型的条件。随机:随机样本(或随机化实验)。10% 条件:无放回抽样时 $n\le 0.10N$,这样公式 $\sigma/\sqrt{n}$ 才有效。正态或样本量大:总体是正态的(此时 $\bar{x}$ 在任何 $n$ 下都是正态的);或 $n\ge30$,使中心极限定理(Central Limit Theorem)适用;或 $n$ 较小时,样本数据没有强烈偏斜或离群值。只有当题目说明总体是正态的,或样本图支持这一点时,才能写“总体是正态的”。

Worked Example 5.13: probability for a sample mean from a skewed population例题 5.13:来自偏斜总体的样本均值的概率

Commute times in a large city (illustrative) are right-skewed with mean $\mu=24$ minutes and standard deviation $\sigma=8$ minutes. A random sample of $n=40$ commuters is chosen from the more than 400,000 commuters in the city. Find the probability that the sample mean commute exceeds 26 minutes.

  1. Conditions: random sample; 10% condition $40\le0.10(400000)$; the population is skewed but $n=40\ge30$, so by the Central Limit Theorem $\bar{x}$ is approximately Normal.
  2. Centre and spread: $\mu_{\bar{x}}=24$; $\sigma_{\bar{x}}=\dfrac{8}{\sqrt{40}}=1.2649$ minutes.
  3. Probability: $z=\dfrac{26-24}{1.2649}\approx1.58$. normalcdf(26, 1E99, 24, 1.2649) $=0.0569$.
  4. In context: the probability that the mean commute of 40 randomly selected commuters in this city is more than 26 minutes is about 0.057, or about 5.7%.
  5. Why this works: the standard deviation of a mean is only $\sigma/\sqrt{n}$, so an average that is 2 minutes above $\mu$ is already more than 1.5 standard deviations out.

某大城市的通勤时间(示意数据)右偏,均值 $\mu=24$ 分钟,标准差 $\sigma=8$ 分钟。从该市 40 多万名通勤者中随机抽取 $n=40$ 人。求样本平均通勤时间超过 26 分钟的概率。

  1. 条件:随机样本;10% 条件 $40\le0.10(400000)$;总体偏斜但 $n=40\ge30$,由中心极限定理,$\bar{x}$ 近似正态。
  2. 中心与离散:$\mu_{\bar{x}}=24$;$\sigma_{\bar{x}}=\dfrac{8}{\sqrt{40}}=1.2649$ 分钟。
  3. 概率:$z=\dfrac{26-24}{1.2649}\approx1.58$。normalcdf(26, 1E99, 24, 1.2649) $=0.0569$。
  4. 结合情境:随机选取该市 40 名通勤者,其平均通勤时间超过 26 分钟的概率约为 0.057,即约 5.7%。
  5. 原理:均值的标准差只有 $\sigma/\sqrt{n}$,所以比 $\mu$ 高 2 分钟的平均值已经偏离中心 1.5 个多标准差。
Worked Example 5.14: individuals versus means, and how large n must be例题 5.14:个体与均值的对比,以及 n 需要多大

A machine fills jars so that the weight is Normal with $\mu=500$ g and $\sigma=6$ g (illustrative). A random sample of $n=9$ jars is taken from a day's production of thousands. (a) Find $P(\bar{x}<497)$ and compare it with $P(X<497)$ for one jar. (b) Give an interval that holds the middle 95% of sample means. (c) How large must $n$ be for $\sigma_{\bar{x}}\le1$ g?

  1. Conditions: random sample; 10% condition holds (9 jars is far below 10% of thousands); the population is Normal, so $\bar{x}$ is exactly Normal even though $n=9$.
  2. (a) $\sigma_{\bar{x}}=\dfrac{6}{\sqrt{9}}=2$ g, so normalcdf(-1E99, 497, 500, 2) $=0.0668$. For one jar, normalcdf(-1E99, 497, 500, 6) $=0.3085$. A mean of 9 jars is much less likely to be that low than a single jar.
  3. (b) invNorm(0.025, 500, 2) $=496.08$ and invNorm(0.975, 500, 2) $=503.92$. The middle 95% of sample means of 9 jars lie between about 496.1 g and 503.9 g.
  4. (c) Need $\dfrac{6}{\sqrt{n}}\le1$, so $\sqrt{n}\ge6$ and $n\ge36$.
  5. Why this works: a sample mean is pulled toward $\mu$ because high and low values in a sample offset each other, which is why its spread is $\sigma/\sqrt{n}$.

一台机器灌装罐头,质量服从 $\mu=500$ 克、$\sigma=6$ 克的正态分布(示意数据)。从一天数千罐的产量中随机抽取 $n=9$ 罐。(a) 求 $P(\bar{x}<497)$,并与单罐的 $P(X<497)$ 比较。(b) 给出包含中间 95% 样本均值的区间。(c) $n$ 至少要多大,才能使 $\sigma_{\bar{x}}\le1$ 克?

  1. 条件:随机样本;10% 条件成立(9 罐远小于数千罐的 10%);总体是正态的,所以 $\bar{x}$ 恰好是正态的,即使 $n=9$。
  2. (a) $\sigma_{\bar{x}}=\dfrac{6}{\sqrt{9}}=2$ 克,所以 normalcdf(-1E99, 497, 500, 2) $=0.0668$。单罐的 normalcdf(-1E99, 497, 500, 6) $=0.3085$。9 罐的平均值低到这个程度的可能性比单罐小得多。
  3. (b) invNorm(0.025, 500, 2) $=496.08$,invNorm(0.975, 500, 2) $=503.92$。9 罐样本均值的中间 95% 位于约 496.1 克与 503.9 克之间。
  4. (c) 需要 $\dfrac{6}{\sqrt{n}}\le1$,所以 $\sqrt{n}\ge6$,$n\ge36$。
  5. 原理:样本中的高值与低值相互抵消,使样本均值被拉向 $\mu$,这就是它的离散程度为 $\sigma/\sqrt{n}$ 的原因。
Worked Example 5.14b: a percentile of sample means and an unusual mean例题 5.14b:样本均值的百分位数与异常的均值

The time to finish an online assessment is right-skewed with mean $\mu=48$ minutes and standard deviation $\sigma=15$ minutes (illustrative). A random sample of $n=100$ submissions is taken from the many thousands this term. (a) Justify a Normal model for $\bar{x}$. (b) Find the value $c$ such that 90% of sample means are below $c$. (c) One sample gives $\bar{x}=52$ minutes. How unusual is a mean that large or larger?

  1. (a) Conditions: random sample; 100 is below 10% of many thousands; the population is skewed but $n=100\ge30$, so by the Central Limit Theorem $\bar{x}$ is approximately Normal with mean $48$ and SD $\dfrac{15}{\sqrt{100}}=1.5$ minutes.
  2. (b) invNorm(0.90, 48, 1.5) $\approx49.92$. Check: $z=1.2816$, so $c=48+1.2816(1.5)\approx49.92$ minutes. Ninety percent of sample means of 100 submissions are below about 49.9 minutes.
  3. (c) $z=\dfrac{52-48}{1.5}\approx2.67$, so normalcdf(52, 1E99, 48, 1.5) $\approx0.0038$.
  4. Conclusion in context: a complete answer states that if the population mean really is 48 minutes, a random sample of 100 submissions would have a mean of 52 minutes or more only about 0.4% of the time, so this sample mean is very unusual under $\mu=48$ and is a reason to think the true mean is higher.
  5. Why this works: a 4-minute gap is small next to individual variation (SD 15) but large next to the variation of a mean (SD 1.5).

完成一次在线测评所用的时间右偏,均值 $\mu=48$ 分钟,标准差 $\sigma=15$ 分钟(示意数据)。从本学期数以千计的提交中随机抽取 $n=100$ 份。(a) 说明可对 $\bar{x}$ 使用正态模型。(b) 求 $c$,使 90% 的样本均值低于 $c$。(c) 一个样本得到 $\bar{x}=52$ 分钟。这么大或更大的均值有多异常?

  1. (a) 条件:随机样本;100 小于数以千计的 10%;总体偏斜,但 $n=100\ge30$,所以由中心极限定理,$\bar{x}$ 近似正态,均值 $48$,标准差 $\dfrac{15}{\sqrt{100}}=1.5$ 分钟。
  2. (b) invNorm(0.90, 48, 1.5) $\approx49.92$。检验:$z=1.2816$,所以 $c=48+1.2816(1.5)\approx49.92$ 分钟。100 份提交的样本均值中,90% 低于约 49.9 分钟。
  3. (c) $z=\dfrac{52-48}{1.5}\approx2.67$,所以 normalcdf(52, 1E99, 48, 1.5) $\approx0.0038$。
  4. 结合情境的结论:完整答案要点:若总体均值确实是 48 分钟,随机抽取 100 份提交时,平均 52 分钟或更多的情况只约占 0.4%,所以在 $\mu=48$ 之下这个样本均值非常异常,是认为真实均值更高的理由。
  5. 原理:4 分钟的差距相对于个体变异(标准差 15)很小,相对于均值的变异(标准差 1.5)却很大。
Exam tip考试提示

Decide which standard deviation to use before computing. A question about one individual uses $\sigma$; a question about the mean of a sample uses $\sigma/\sqrt{n}$. Showing the division by $\sqrt{n}$ with the numbers, and the Normality justification in one sentence, are both worth including. Calculator: normalcdf(lower, upper, $\mu$, $\sigma/\sqrt{n}$) with the already-divided SD.

先决定用哪个标准差再计算。关于单个个体的问题用 $\sigma$;关于样本均值的问题用 $\sigma/\sqrt{n}$。写出带数字的除以 $\sqrt{n}$ 的步骤,以及一句话的正态性理由,这两点都值得写出。计算器:normalcdf(lower, upper, $\mu$, $\sigma/\sqrt{n}$),其中使用已除过的标准差。

Common mistakes
  • Using $\sigma$ instead of $\sigma/\sqrt{n}$ for the standard deviation of a mean.
  • Writing the CLT as the reason for Normality when the sample is small and the population is skewed.
  • Forgetting that $\sigma/\sqrt{n}$ also needs the 10% condition when sampling without replacement from a small population.
常见错误
  • 用 $\sigma$ 代替 $\sigma/\sqrt{n}$ 作为均值的标准差。
  • 样本小且总体偏斜时,仍把 CLT 当作正态性的理由。
  • 从小总体无放回抽样时,忘了 $\sigma/\sqrt{n}$ 也需要 10% 条件。
Common Mistake: dividing by $n$ instead of $\sqrt{n}$

For $\sigma=15$ and $n=100$, a student writes $\sigma_{\bar{x}}=15/100=0.15$. Then a sample mean of 52 minutes gets $z=\dfrac{52-48}{0.15}\approx26.7$, a probability of essentially 0, and the student concludes that such a sample is impossible. The standard deviation of a mean is $\sigma/\sqrt{n}=15/10=1.5$, which gives $z\approx2.67$. Fix: write the square root explicitly, and sanity-check the answer: for $n=100$ the SD of the mean should be one tenth of $\sigma$, not one hundredth.

常见错误:除以 $n$ 而不是 $\sqrt{n}$

对 $\sigma=15$、$n=100$,有人写 $\sigma_{\bar{x}}=15/100=0.15$。于是样本均值 52 分钟的 $z=\dfrac{52-48}{0.15}\approx26.7$,概率基本为 0,就得出这样的样本不可能出现的结论。均值的标准差是 $\sigma/\sqrt{n}=15/10=1.5$,对应 $z\approx2.67$。改正:把平方根明确写出来,并检查结果是否合理:$n=100$ 时均值的标准差应是 $\sigma$ 的十分之一,而不是百分之一。

Check your understanding自我检测
A population has $\mu=70$ and $\sigma=12$. Find the mean and standard deviation of $\bar{x}$ for $n=36$.总体的 $\mu=70$,$\sigma=12$。求 $\bar{x}$ 的均值与标准差,其中 $n=36$。

$\mu_{\bar{x}}=70$; $\sigma_{\bar{x}}=\dfrac{12}{\sqrt{36}}=2$.

$\mu_{\bar{x}}=70$;$\sigma_{\bar{x}}=\dfrac{12}{\sqrt{36}}=2$。

By what factor must the sample size change to cut $\sigma_{\bar{x}}$ to one third of its value?要使 $\sigma_{\bar{x}}$ 降为原来的三分之一,样本量要变为原来的多少倍?

Since $\sigma_{\bar{x}}$ is proportional to $1/\sqrt{n}$, $n$ must be multiplied by 9.

因为 $\sigma_{\bar{x}}$ 与 $1/\sqrt{n}$ 成正比,所以 $n$ 必须乘以 9。

Heights of students are Normal with $\mu=168$ cm and $\sigma=7$ cm. For a random sample of 25 students, find the probability that $\bar{x}$ is between 166 and 170 cm, with a sentence in context.学生身高服从 $\mu=168$ 厘米、$\sigma=7$ 厘米的正态分布。对 25 名随机抽取的学生,求 $\bar{x}$ 在 166 到 170 厘米之间的概率,并写一句结合情境的话。

$\sigma_{\bar{x}}=\dfrac{7}{\sqrt{25}}=1.4$; the population is Normal, so $\bar{x}$ is Normal. normalcdf(166, 170, 168, 1.4) $=0.8469$. In context: about an 85% chance that the mean height of 25 randomly chosen students is between 166 and 170 cm.

$\sigma_{\bar{x}}=\dfrac{7}{\sqrt{25}}=1.4$;总体是正态的,所以 $\bar{x}$ 是正态的。normalcdf(166, 170, 168, 1.4) $=0.8469$。结合情境:随机抽取 25 名学生,其平均身高在 166 到 170 厘米之间的概率约为 85%。

Sampling Distribution for a Difference in Sample Means样本均值之差的抽样分布

Learning objectives学习目标
  • State the mean and standard deviation of the sampling distribution of $\bar{x}_1-\bar{x}_2$.
  • Check the conditions for two independent samples: random, independent, 10% condition, and Normal or large for each sample.
  • Calculate a probability for a difference of sample means using a Normal model.
  • Interpret the result in context, naming both populations and the direction of the difference.
  • Describe how a simulation (dotplot or histogram) approximates a sampling distribution and compare it with the formula.
  • 写出 $\bar{x}_1-\bar{x}_2$ 的抽样分布的均值与标准差。
  • 检验两个独立样本的条件:随机、独立、10% 条件,以及每个样本的正态或样本量大。
  • 用正态模型计算样本均值之差的概率。
  • 结合情境解释结果,点明两个总体与差的方向。
  • 说明如何用模拟(点图或直方图)近似抽样分布,并与公式比较。

Take independent random samples of sizes $n_1$ and $n_2$ from two populations with means $\mu_1$, $\mu_2$ and standard deviations $\sigma_1$, $\sigma_2$. The difference in sample means $\bar{x}_1-\bar{x}_2$ has a sampling distribution with mean $\mu_{\bar{x}_1-\bar{x}_2}=\mu_1-\mu_2$ and standard deviation $\sigma_{\bar{x}_1-\bar{x}_2}=\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}$. As in 5.6, the variances add because the samples are independent.

独立随机抽取容量为 $n_1$ 与 $n_2$ 的样本,它们分别来自均值为 $\mu_1$、$\mu_2$,标准差为 $\sigma_1$、$\sigma_2$ 的两个总体。样本均值之差(difference in sample means)$\bar{x}_1-\bar{x}_2$ 的抽样分布,均值为 $\mu_{\bar{x}_1-\bar{x}_2}=\mu_1-\mu_2$,标准差为 $\sigma_{\bar{x}_1-\bar{x}_2}=\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}$。与 5.6 一样,因为样本独立,所以方差相加。

Conditions: the two samples are random and independent of each other; the 10% condition holds in both populations; and each sample is from a Normal population or is large ($n\ge30$ in each group) so the Central Limit Theorem applies to each sample mean. Check each sample: if both samples are large the difference is approximately Normal, and if both populations are Normal the difference is exactly Normal for any sample sizes.

条件:两个样本是随机的,并且彼此独立;两个总体都满足10% 条件;每个样本都来自正态总体,或样本量大(每组 $n\ge30$),使中心极限定理适用于每个样本均值。要检验每个样本:两个样本都大时,差近似正态;两个总体都是正态时,无论样本量多大,差都恰好是正态的。

Worked Example 5.15: a difference of sample means例题 5.15:样本均值之差

Scores on a standardized test (illustrative) in District 1 have mean $\mu_1=72$ and SD $\sigma_1=10$; in District 2, $\mu_2=68$ and $\sigma_2=12$. Each district has thousands of students. Independent random samples of $n_1=40$ and $n_2=50$ students are taken. (a) Find the probability that $\bar{x}_1-\bar{x}_2$ exceeds 6. (b) Find the probability that District 2's sample mean is larger than District 1's.

  1. Conditions: independent random samples; each district has thousands of students (10% holds); both $n_1=40$ and $n_2=50$ are at least 30, so by the Central Limit Theorem each sample mean, and so their difference, is approximately Normal.
  2. Centre and spread: $\mu=\mu_1-\mu_2=72-68=4$. $\sigma=\sqrt{\dfrac{10^2}{40}+\dfrac{12^2}{50}}=\sqrt{2.5+2.88}=2.3195$.
  3. (a) $z=\dfrac{6-4}{2.3195}\approx0.86$. normalcdf(6, 1E99, 4, 2.3195) $=0.1943$.
  4. (b) District 2 larger means $\bar{x}_1-\bar{x}_2<0$. $z=\dfrac{0-4}{2.3195}\approx-1.72$. normalcdf(-1E99, 0, 4, 2.3195) $=0.0423$.
  5. In context: there is about a 19% chance that the mean score in the District 1 sample is more than 6 points higher than in the District 2 sample, and only about a 4% chance that the District 2 sample mean beats District 1's although District 1 has the higher population mean.

某标准化测验(示意数据)中,第 1 学区的成绩均值 $\mu_1=72$、标准差 $\sigma_1=10$;第 2 学区 $\mu_2=68$、$\sigma_2=12$。每个学区都有数千名学生。分别独立随机抽取 $n_1=40$ 与 $n_2=50$ 名学生。(a) 求 $\bar{x}_1-\bar{x}_2$ 大于 6 的概率。(b) 求第 2 学区样本均值大于第 1 学区的概率。

  1. 条件:独立随机样本;每个学区有数千名学生(10% 条件成立);$n_1=40$ 与 $n_2=50$ 都不小于 30,由中心极限定理,每个样本均值,以及它们的差,都近似正态。
  2. 中心与离散:$\mu=\mu_1-\mu_2=72-68=4$。$\sigma=\sqrt{\dfrac{10^2}{40}+\dfrac{12^2}{50}}=\sqrt{2.5+2.88}=2.3195$。
  3. (a) $z=\dfrac{6-4}{2.3195}\approx0.86$。normalcdf(6, 1E99, 4, 2.3195) $=0.1943$。
  4. (b) 第 2 学区更大意味着 $\bar{x}_1-\bar{x}_2<0$。$z=\dfrac{0-4}{2.3195}\approx-1.72$。normalcdf(-1E99, 0, 4, 2.3195) $=0.0423$。
  5. 结合情境:第 1 学区样本的平均分比第 2 学区样本高出 6 分以上的概率约为 19%;尽管第 1 学区的总体均值更高,第 2 学区样本均值反而超过第 1 学区的概率只有约 4%。
Worked Example 5.16: small samples from Normal populations例题 5.16:来自正态总体的小样本

Reaction times (illustrative): Group 1 is Normal with $\mu_1=30$, $\sigma_1=4$; Group 2 is Normal with $\mu_2=26$, $\sigma_2=5$. Independent random samples of $n_1=12$ and $n_2=15$ are taken from very large populations. Find the probability that $\bar{x}_1-\bar{x}_2$ exceeds 6.

  1. Conditions: independent random samples; 10% condition holds for very large populations; both populations are Normal, so each sample mean is Normal and so is the difference, even though $n_1$ and $n_2$ are below 30.
  2. Centre and spread: $\mu=30-26=4$; $\sigma=\sqrt{\dfrac{4^2}{12}+\dfrac{5^2}{15}}=\sqrt{1.3333+1.6667}=\sqrt{3}=1.7321$.
  3. Probability: $z=\dfrac{6-4}{1.7321}\approx1.15$. normalcdf(6, 1E99, 4, 1.7321) $=0.1241$.
  4. In context: about a 12% chance that the Group 1 sample mean exceeds the Group 2 sample mean by more than 6 time units.

反应时间(示意数据):第 1 组服从正态分布,$\mu_1=30$、$\sigma_1=4$;第 2 组服从正态分布,$\mu_2=26$、$\sigma_2=5$。从很大的总体中分别独立随机抽取 $n_1=12$ 与 $n_2=15$ 个样本。求 $\bar{x}_1-\bar{x}_2$ 大于 6 的概率。

  1. 条件:独立随机样本;总体很大,10% 条件成立;两个总体都是正态的,所以每个样本均值以及它们的差都是正态的,尽管 $n_1$ 与 $n_2$ 都小于 30。
  2. 中心与离散:$\mu=30-26=4$;$\sigma=\sqrt{\dfrac{4^2}{12}+\dfrac{5^2}{15}}=\sqrt{1.3333+1.6667}=\sqrt{3}=1.7321$。
  3. 概率:$z=\dfrac{6-4}{1.7321}\approx1.15$。normalcdf(6, 1E99, 4, 1.7321) $=0.1241$。
  4. 结合情境:第 1 组样本均值比第 2 组样本均值高出 6 个时间单位以上的概率约为 12%。

Simulating a sampling distribution. You can check the formula by simulation: repeatedly draw a random sample from each population, record $\bar{x}_1-\bar{x}_2$, and display the 1,000 results in a dotplot or histogram (Figure 5.8). In a simulation (illustrative) of the District setting in Worked Example 5.15 with Normal score distributions, the 1,000 simulated differences had mean 3.91 and standard deviation 2.36, close to the formula values 4 and 2.32, and 5.2% of them were below 0 (the Normal calculation gave 4.2%). A simulation approximates the sampling distribution, so its numbers differ slightly each time it is run.

模拟抽样分布。可以用模拟检验公式:从每个总体反复随机抽样,记录 $\bar{x}_1-\bar{x}_2$,把 1,000 个结果画成点图或直方图(图 5.8)。在例题 5.15 学区情境(成绩分布取正态)的一次模拟(示意)中,1,000 个模拟差的均值为 3.91,标准差为 2.36,与公式值 4 和 2.32 很接近,其中 5.2% 小于 0(正态计算为 4.2%)。模拟只是近似抽样分布,所以每次运行的数值会略有不同。

-404812true difference 4真实差 4x-bar 1 minus x-bar 2 from 1,000 simulated pairs of samples1,000 对模拟样本的 x-bar 1 减 x-bar 2
Figure 5.8. A simulated sampling distribution (illustrative): the histogram is centred near 4, roughly bell-shaped, and its spread matches the formula in Worked Example 5.15.图 5.8。模拟得到的抽样分布(示意):直方图中心约为 4,大致呈钟形,离散程度与例题 5.15 中的公式一致。
Worked Example 5.16b: a difference of means and a percentile例题 5.16b:样本均值之差与百分位数

Battery lifetimes (hours) are right-skewed. Brand A has $\mu_1=50$, $\sigma_1=9$ and Brand B has $\mu_2=46$, $\sigma_2=7$ (illustrative), each from very large production runs. Independent random samples of $n_1=35$ Brand A and $n_2=45$ Brand B batteries are tested. (a) Justify a Normal model for $\bar{x}_1-\bar{x}_2$. (b) Find the probability that the Brand B sample mean is larger than the Brand A sample mean. (c) Find the value that 95% of the differences $\bar{x}_1-\bar{x}_2$ exceed.

  1. (a) Conditions: independent random samples; very large runs (10% holds); both populations are skewed, but $n_1=35$ and $n_2=45$ are each at least 30, so each sample mean, and so their difference, is approximately Normal.
  2. Centre and spread: $\mu=50-46=4$ hours. $\sigma=\sqrt{\dfrac{9^2}{35}+\dfrac{7^2}{45}}=\sqrt{2.3143+1.0889}=\sqrt{3.4032}=1.8448$ hours.
  3. (b) B larger means $\bar{x}_1-\bar{x}_2<0$: $z=\dfrac{0-4}{1.8448}\approx-2.17$, normalcdf(-1E99, 0, 4, 1.8448) $\approx0.0151$.
  4. (c) invNorm(0.05, 4, 1.8448) $\approx0.966$, from $4-1.6449(1.8448)$. Ninety-five percent of such differences are larger than about 0.97 hours.
  5. Conclusion in context: a complete answer states that although Brand A lasts 4 hours longer on average, the Brand B sample mean beats the Brand A sample mean in about 1.5% of pairs of samples of these sizes, and in 95% of pairs Brand A's sample mean is more than about 0.97 hours higher.
  6. Why this works: both statements read areas from the same Normal curve with centre $\mu_1-\mu_2$ and spread $\sqrt{\sigma_1^2/n_1+\sigma_2^2/n_2}$.

电池寿命(小时)右偏。品牌 A 的 $\mu_1=50$、$\sigma_1=9$,品牌 B 的 $\mu_2=46$、$\sigma_2=7$(示意数据),均来自规模很大的生产批次。独立随机抽取 $n_1=35$ 个品牌 A 电池和 $n_2=45$ 个品牌 B 电池进行测试。(a) 说明可对 $\bar{x}_1-\bar{x}_2$ 使用正态模型。(b) 求品牌 B 的样本均值大于品牌 A 的样本均值的概率。(c) 求一个值,使 95% 的差 $\bar{x}_1-\bar{x}_2$ 都大于它。

  1. (a) 条件:独立随机样本;批次很大(10% 条件成立);两个总体都偏斜,但 $n_1=35$ 和 $n_2=45$ 都不小于 30,所以每个样本均值以及它们的差都近似正态。
  2. 中心与离散程度:$\mu=50-46=4$ 小时。$\sigma=\sqrt{\dfrac{9^2}{35}+\dfrac{7^2}{45}}=\sqrt{2.3143+1.0889}=\sqrt{3.4032}=1.8448$ 小时。
  3. (b) B 更大意味着 $\bar{x}_1-\bar{x}_2<0$:$z=\dfrac{0-4}{1.8448}\approx-2.17$,normalcdf(-1E99, 0, 4, 1.8448) $\approx0.0151$。
  4. (c) invNorm(0.05, 4, 1.8448) $\approx0.966$,来自 $4-1.6449(1.8448)$。这类差中有 95% 大于约 0.97 小时。
  5. 结合情境的结论:完整答案要点:虽然品牌 A 平均多用 4 小时,但在这样大小的样本对中,品牌 B 的样本均值超过品牌 A 的约占 1.5%,而在 95% 的样本对中,品牌 A 的样本均值高出约 0.97 小时以上。
  6. 原理:两个说法都是在同一条正态曲线上读面积,曲线的中心为 $\mu_1-\mu_2$,离散程度为 $\sqrt{\sigma_1^2/n_1+\sigma_2^2/n_2}$。
Exam tip考试提示

For a difference of means, justify Normality for each sample (Normal population, or $n\ge30$ in each group) and say the samples are independent. In a simulation answer, name what one dot is (one pair of samples, giving one value of $\bar{x}_1-\bar{x}_2$), the number of repetitions, and compare the centre and spread with the formula values.

对于均值之差,要对每个样本说明正态性(正态总体,或每组 $n\ge30$),并说明样本独立。回答模拟题时,要说明一个点代表什么(一对样本,得到一个 $\bar{x}_1-\bar{x}_2$ 的值)、重复次数,并把中心与离散程度与公式值比较。

Common mistakes
  • Subtracting the standard deviations instead of adding the variances.
  • Applying the single-sample formula $\sigma/\sqrt{n}$ to the difference.
  • Writing the order of subtraction one way in the setup and the opposite way in the probability statement.
常见错误
  • 把标准差相减,而不是把方差相加。
  • 把单样本公式 $\sigma/\sqrt{n}$ 用于差。
  • 设定时和概率表述中的相减顺序相反。
Common Mistake: checking the combined sample size instead of each group

Two skewed populations are sampled with $n_1=8$ and $n_2=40$. A student writes, "$8+40=48\ge30$, so the CLT applies and $\bar{x}_1-\bar{x}_2$ is approximately Normal." The CLT is applied to each sample mean separately. With only 8 values from a skewed population, $\bar{x}_1$ keeps the skew, so the difference is not justified as Normal. Fix: check each group ($n_1\ge30$ and $n_2\ge30$, or a Normal population, or a sample plot with no strong skew or outliers), and say which group fails.

常见错误:检查合并后的样本量而不是每一组

从两个偏斜总体中抽样,$n_1=8$,$n_2=40$。有人写道:“$8+40=48\ge30$,所以 CLT 适用,$\bar{x}_1-\bar{x}_2$ 近似正态。”CLT 是分别用于每个样本均值的。只有 8 个来自偏斜总体的数据时,$\bar{x}_1$ 仍然偏斜,所以不能认为差是正态的。改正:逐组检查($n_1\ge30$ 且 $n_2\ge30$,或总体正态,或样本图没有明显偏斜与离群值),并指出是哪一组不满足。

Check your understanding自我检测
Samples of $n_1=50$ and $n_2=50$ come from populations with $\sigma_1=6$ and $\sigma_2=8$. Find $\sigma_{\bar{x}_1-\bar{x}_2}$.$n_1=50$ 与 $n_2=50$ 的样本分别来自 $\sigma_1=6$ 与 $\sigma_2=8$ 的总体。求 $\sigma_{\bar{x}_1-\bar{x}_2}$。

$\sqrt{\dfrac{36}{50}+\dfrac{64}{50}}=\sqrt{2}=1.414$.

$\sqrt{\dfrac{36}{50}+\dfrac{64}{50}}=\sqrt{2}=1.414$。

Why can the same students not appear in both samples when using the difference-of-means formula?为什么使用均值之差的公式时,两个样本不能包含同一批学生?

The formula needs the samples to be independent. The same students would give paired data, where the two means are related and the variances cannot simply be added.

该公式要求两个样本相互独立。同一批学生会产生配对数据,两个均值相关,方差不能直接相加。

Each of 1,000 simulated pairs of samples gives one value of $\bar{x}_1-\bar{x}_2$. What does a histogram of the 1,000 values approximate, and what should its centre be?1,000 对模拟样本中每一对给出一个 $\bar{x}_1-\bar{x}_2$ 的值。这 1,000 个值的直方图近似什么?它的中心应是多少?

It approximates the sampling distribution of $\bar{x}_1-\bar{x}_2$. Its centre should be near $\mu_1-\mu_2$, and its spread near $\sqrt{\sigma_1^2/n_1+\sigma_2^2/n_2}$.

它近似 $\bar{x}_1-\bar{x}_2$ 的抽样分布。中心应接近 $\mu_1-\mu_2$,离散程度应接近 $\sqrt{\sigma_1^2/n_1+\sigma_2^2/n_2}$。

Exam Toolkit考试工具

If the question saysWrite
Find the probability that $\hat{p}$ (or $\bar{x}$) is more or less than a valueName the distribution, check conditions with numbers, state centre and SD, give z or the normalcdf command, then a sentence in context
Is a Normal model appropriate for $\hat{p}$?Random; 10% condition $n\le0.10N$; $np\ge10$ and $n(1-p)\ge10$ with the values
Is a Normal model appropriate for $\bar{x}$?Random; 10% condition; Normal population, or $n\ge30$ by the Central Limit Theorem, or a sample plot with no strong skew or outliers
Describe bias or how to reduce variabilityBias is about the centre and is fixed by changing the method; variability is about the spread and is reduced by increasing $n$
Two groupsSay the samples are independent; variances add, then take the square root
题目问写什么
求 $\hat{p}$(或 $\bar{x}$)大于或小于某值的概率点明分布,用数字检验条件,写出中心与标准差,给出 z 或 normalcdf 命令,再写一句结合情境的话
对 $\hat{p}$ 用正态模型合适吗?随机;10% 条件 $n\le0.10N$;写出 $np\ge10$ 与 $n(1-p)\ge10$ 的具体数值
对 $\bar{x}$ 用正态模型合适吗?随机;10% 条件;总体正态,或 $n\ge30$ 由中心极限定理,或样本图没有强烈偏斜与离群值
描述偏差或如何减小变异偏差关乎中心,靠改变方法来解决;变异关乎离散程度,靠增大 $n$ 来降低
两个组说明样本独立;方差相加,再开平方
Formula reference

$\mu_{\hat{p}}=p$, $\sigma_{\hat{p}}=\sqrt{\dfrac{p(1-p)}{n}}$; $\mu_{\bar{x}}=\mu$, $\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$; for differences the means subtract and the variances add. Compare these with the official AP Statistics reference information (formula sheet) rather than relying on memory.

公式速查

$\mu_{\hat{p}}=p$,$\sigma_{\hat{p}}=\sqrt{\dfrac{p(1-p)}{n}}$;$\mu_{\bar{x}}=\mu$,$\sigma_{\bar{x}}=\dfrac{\sigma}{\sqrt{n}}$;对于差,均值相减、方差相加。使用前请对照官方的 AP 统计学参考资料(reference information,公式表),不要只凭记忆。

Unit FRQ: Sampling Distribution of a Proportion单元简答题:比例的抽样分布

AP FRQ-style response modelAP 简答题示范作答

Prompt. At a large university, 40% of students use the shuttle bus (illustrative). A random sample of $n=100$ students is taken. (a) Describe the sampling distribution of $\hat{p}$: centre, standard deviation, and shape, with the conditions. (b) Find the probability that more than 50% of the sample use the shuttle. (c) How would the standard deviation change if $n=400$?

PartWhat a complete answer includes
(a)Centre $\mu_{\hat{p}}=0.40$; SD $\sqrt{\dfrac{0.40(0.60)}{100}}=0.0490$. Conditions: random sample; 10% condition (100 students is less than 10% of the students at a large university); $np=40\ge10$ and $n(1-p)=60\ge10$. So the sampling distribution is approximately Normal.
(b)$z=\dfrac{0.50-0.40}{0.0490}\approx2.04$; normalcdf(0.50, 1E99, 0.40, 0.0490) $=0.0206$. In context: there is about a 2% chance that more than 50% of 100 randomly chosen students use the shuttle.
(c)$\sqrt{\dfrac{0.40(0.60)}{400}}=0.0245$, half as large. Quadrupling the sample size halves the standard deviation, and the centre stays at 0.40.

题目。某大型大学有 40% 的学生乘坐校车(示意数据)。随机抽取 $n=100$ 名学生。(a) 描述 $\hat{p}$ 的抽样分布:中心、标准差和形状,并说明条件。(b) 求样本中超过 50% 的学生乘坐校车的概率。(c) 若 $n=400$,标准差如何变化?

部分完整答案应包含
(a)中心 $\mu_{\hat{p}}=0.40$;标准差 $\sqrt{\dfrac{0.40(0.60)}{100}}=0.0490$。条件:随机样本;10% 条件(100 少于大型大学学生数的 10%);$np=40\ge10$ 且 $n(1-p)=60\ge10$。所以抽样分布近似正态。
(b)$z=\dfrac{0.50-0.40}{0.0490}\approx2.04$;normalcdf(0.50, 1E99, 0.40, 0.0490) $=0.0206$。结合情境:随机抽取 100 名学生,其中超过 50% 乘坐校车的概率约为 2%。
(c)$\sqrt{\dfrac{0.40(0.60)}{400}}=0.0245$,是原来的一半。样本量增为 4 倍使标准差减半,中心仍为 0.40。

Common Errors and Their Corrections常见错误与修正

ErrorCorrection
Using $\sigma$ instead of $\sigma/\sqrt{n}$ for a sample meanDivide by $\sqrt{n}$ for questions about $\bar{x}$
Claiming a bigger sample removes biasA bigger sample reduces variability only; change the method to reduce bias
Writing "conditions are met" with no numbersShow $np\ge10$, $n(1-p)\ge10$, and $n\le0.10N$ with values
Adding standard deviations for a differenceAdd the variances, then take the square root
Saying the CLT makes the sample data NormalIt describes the sampling distribution of $\bar{x}$ only
错误修正
对样本均值用 $\sigma$ 而不是 $\sigma/\sqrt{n}$要除以 $\sqrt{n}$,适用于关于 $\bar{x}$ 的问题
声称更大的样本能消除偏差更大的样本只降低变异;要减少偏差须改变方法
只写“条件满足”而没有数字写出带数值的 $np\ge10$、$n(1-p)\ge10$ 与 $n\le0.10N$
对差的标准差直接相加先把方差相加,再开平方
说 CLT 使样本数据变成正态它只描述 $\bar{x}$ 的抽样分布

Flashcards闪卡

Select a card to reveal the answer.

点击卡片查看答案。

Unit Quiz单元自测

Choose an answer to see feedback.

选择答案查看反馈。

1. A random sample of 80 students has mean sleep time $\bar{x}=7.2$ hours. The number 7.2 is a

B. It is computed from a sample, so it is a statistic.

1. 随机抽取 80 名学生,平均睡眠时间为 $\bar{x}=7.2$ 小时。7.2 是一个

B。 它由样本算出,所以是统计量。

2. The sampling distribution of a statistic is

B. It shows how the statistic varies from sample to sample.

2. 统计量的抽样分布是

B。 它显示统计量如何随样本而变。

3. For $p=0.40$ and $n=100$, the standard deviation of $\hat{p}$ is about

A. $\sqrt{0.40(0.60)/100}=0.049$.

3. 当 $p=0.40$、$n=100$ 时,$\hat{p}$ 的标准差约为

A。 $\sqrt{0.40(0.60)/100}=0.049$。

4. A skewed population has $\mu=50$ and $\sigma=20$. For random samples of $n=50$ the distribution of $\bar{x}$ is

B. Since $n\ge30$, the CLT applies.

4. 偏斜总体的 $\mu=50$、$\sigma=20$。对 $n=50$ 的随机样本,$\bar{x}$ 的分布

B。 因为 $n\ge30$,CLT 适用。

5. Which change reduces the variability but not the bias of a statistic from a flawed sampling method?

B. A larger $n$ narrows the spread but leaves the centre unchanged.

5. 对于来自有缺陷抽样方法的统计量,哪项改变能降低变异却不降低偏差?

B。 更大的 $n$ 使离散程度变小,但中心不变。

6. For $p=0.03$ and $n=100$, a Normal model for $\hat{p}$ is not appropriate because

C. $np=3<10$, so Large Counts fails.

6. 当 $p=0.03$、$n=100$ 时,$\hat{p}$ 不宜用正态模型,因为

C。 $np=3<10$,大计数条件不满足。

7. A population has $\sigma=15$. The standard deviation of $\bar{x}$ for $n=25$ is

B. $15/\sqrt{25}=3$.

7. 总体的 $\sigma=15$。$\bar{x}$ 的标准差($n=25$)为

B。 $15/\sqrt{25}=3$。

8. Independent samples have $\sigma_1=3$, $n_1=9$ and $\sigma_2=4$, $n_2=16$. The standard deviation of $\bar{x}_1-\bar{x}_2$ is

B. $\sqrt{9/9+16/16}=\sqrt{2}$.

8. 独立样本的 $\sigma_1=3$、$n_1=9$ 与 $\sigma_2=4$、$n_2=16$。$\bar{x}_1-\bar{x}_2$ 的标准差为

B。 $\sqrt{9/9+16/16}=\sqrt{2}$。

9. A population has $p=0.5$. For random samples of $n=100$, what is the standard deviation of $\hat p$?

Answer: B. $\sigma_{\hat p}=\sqrt{0.5(0.5)/100}=\sqrt{0.0025}=0.05$.

9. 总体 $p=0.5$。对 $n=100$ 的随机样本,$\hat p$ 的标准差是多少?

答案:B。$\sigma_{\hat p}=\sqrt{0.5(0.5)/100}=\sqrt{0.0025}=0.05$。

10. Which statement about an unbiased estimator is correct?

Answer: D. Unbiased describes the center of the sampling distribution only. Individual samples vary, sample size affects variability rather than bias, and unbiased says nothing about the smallest variability.

10. 关于无偏估计量,下列哪项正确?

答案:D。无偏只描述抽样分布的中心。单个样本会变化,样本量影响的是变异而非偏差,且无偏并不意味着变异最小。

11. Independent random samples have $p_1=0.5$, $n_1=100$ and $p_2=0.4$, $n_2=150$. The standard deviation of $\hat{p}_1-\hat{p}_2$ is about

Answer: B. $\sqrt{0.5(0.5)/100+0.4(0.6)/150}=\sqrt{0.0025+0.0016}=\sqrt{0.0041}\approx0.064$. A adds the two standard deviations, C forgets the square root, and D is the mean $p_1-p_2$, not the standard deviation.

11. 独立随机样本的 $p_1=0.5$、$n_1=100$ 与 $p_2=0.4$、$n_2=150$。$\hat{p}_1-\hat{p}_2$ 的标准差约为

答案:B。$\sqrt{0.5(0.5)/100+0.4(0.6)/150}=\sqrt{0.0025+0.0016}=\sqrt{0.0041}\approx0.064$。A 把两个标准差相加,C 忘了开平方,D 是均值 $p_1-p_2$ 而不是标准差。

12. A Normal population has $\mu=170$ and $\sigma=10$. For random samples of $n=4$, the sampling distribution of $\bar{x}$ is

Answer: C. A Normal population gives a Normal $\bar{x}$ for every $n$, and $\sigma_{\bar{x}}=10/\sqrt{4}=5$. A confuses the small sample with a non-Normal population, B leans on the Central Limit Theorem, which is not needed because the result is exact, and keeps the population standard deviation, and D forgets to divide by $\sqrt{n}$.

12. 正态总体的 $\mu=170$、$\sigma=10$。对 $n=4$ 的随机样本,$\bar{x}$ 的抽样分布是

答案:C。总体为正态时,对任意 $n$,$\bar{x}$ 都是正态的,且 $\sigma_{\bar{x}}=10/\sqrt{4}=5$。A 把小样本与非正态总体混为一谈,B 依赖中心极限定理,但结果是精确的,无需该定理,而且沿用了总体标准差,D 忘了除以 $\sqrt{n}$。